summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-10-18 19:19:03 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-10-18 19:19:03 +0200
commit995eb1f00455c7dc18b4db5f6b5f7b484be65ead (patch)
treecf3a8ce682b3f1bd35071475c7f678eb1003f733 /src
parenteb95512f7c4e5100a2b786cb1d9c3e8558a6df9c (diff)
downloadweechat-995eb1f00455c7dc18b4db5f6b5f7b484be65ead.zip
irc: add "cap-notify" in list of supported capabilities (/help cap)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-command.c2
-rw-r--r--src/plugins/irc/irc-command.h5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index a5bb53559..cc976e585 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -6150,7 +6150,7 @@ irc_command_init ()
"Without argument, \"ls\" and \"list\" are sent.\n"
"\n"
"Capabilities supported by WeeChat are: "
- "account-notify, away-notify, extended-join, "
+ "account-notify, away-notify, cap-notify, extended-join, "
"multi-prefix, server-time, userhost-in-names.\n"
"\n"
"The capabilities to automatically enable on servers can be set "
diff --git a/src/plugins/irc/irc-command.h b/src/plugins/irc/irc-command.h
index 358bc6385..236167ed8 100644
--- a/src/plugins/irc/irc-command.h
+++ b/src/plugins/irc/irc-command.h
@@ -45,9 +45,8 @@ struct t_irc_channel;
/* list of supported capabilities (for completion in command /cap) */
#define IRC_COMMAND_CAP_SUPPORTED_COMPLETION \
- "account-notify|away-notify|extended-join|" \
- "multi-prefix|server-time|userhost-in-names" \
- "|%*"
+ "account-notify|away-notify|cap-notify|extended-join|" \
+ "multi-prefix|server-time|userhost-in-names|%*"
extern void irc_command_away_server (struct t_irc_server *server,
const char *arguments,