summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-05-29 22:42:07 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-05-29 22:42:07 +0000
commit6599c523527c4679148acf62635f9846e133a898 (patch)
treecddb45e9248f74c08d2938d39ae6c2f31b33563d /src
parentfe90f3d4e46b2899c6e21425f3eb4fb4576a156b (diff)
downloadweechat-6599c523527c4679148acf62635f9846e133a898.zip
Fixed /perl command output when no keyboard handler is defined
Diffstat (limited to 'src')
-rw-r--r--src/plugins/scripts/perl/weechat-perl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c
index d8cb85e14..0b717b9ec 100644
--- a/src/plugins/scripts/perl/weechat-perl.c
+++ b/src/plugins/scripts/perl/weechat-perl.c
@@ -1679,6 +1679,8 @@ weechat_perl_cmd (t_weechat_plugin *plugin,
ptr_handler->handler_args);
}
}
+ if (!handler_found)
+ plugin->print_server (plugin, " (none)");
break;
case 1:
if (plugin->ascii_strcasecmp (plugin, argv[0], "autoload") == 0)