summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2005-03-13 23:36:45 +0000
committerSebastien Helleu <flashcode@flashtux.org>2005-03-13 23:36:45 +0000
commit09242c3ba630ff0b32ea032043a9f8514b484af1 (patch)
treec8b8ea8b0edc7e60bafe4b437d79f14ef1c48a32 /src/common
parentbba97304a08598aab94d051dd16621f1ca626264 (diff)
downloadweechat-09242c3ba630ff0b32ea032043a9f8514b484af1.zip
Added /ban, /unban and /kickban commands, fixed /kick command
Diffstat (limited to 'src/common')
-rw-r--r--src/common/command.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/command.c b/src/common/command.c
index 3f7644ccb..a5f6fe58e 100644
--- a/src/common/command.c
+++ b/src/common/command.c
@@ -1234,6 +1234,10 @@ weechat_cmd_help (int argc, char **argv)
_(weechat_commands[i].arguments));
else
gui_printf (NULL, "\n");
+ if (weechat_commands[i].command_description &&
+ weechat_commands[i].command_description[0])
+ gui_printf (NULL, "\n%s\n",
+ _(weechat_commands[i].command_description));
if (weechat_commands[i].arguments_description &&
weechat_commands[i].arguments_description[0])
gui_printf (NULL, "\n%s\n",
@@ -1256,6 +1260,10 @@ weechat_cmd_help (int argc, char **argv)
_(irc_commands[i].arguments));
else
gui_printf (NULL, "\n");
+ if (irc_commands[i].command_description &&
+ irc_commands[i].command_description[0])
+ gui_printf (NULL, "\n%s\n",
+ _(irc_commands[i].command_description));
if (irc_commands[i].arguments_description &&
irc_commands[i].arguments_description[0])
gui_printf (NULL, "\n%s\n",