summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-protocol.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index b0e8427fb..4e7d4d961 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -926,6 +926,7 @@ IRC_PROTOCOL_CALLBACK(cap)
if (strcmp (params[1], "LS") == 0)
{
+ /* list of capabilities supported by the server */
if (num_params < 3)
return WEECHAT_RC_OK;
@@ -1011,6 +1012,7 @@ IRC_PROTOCOL_CALLBACK(cap)
}
else if (strcmp (params[1], "LIST") == 0)
{
+ /* list of capabilities currently enabled */
if (num_params < 3)
return WEECHAT_RC_OK;
@@ -1092,6 +1094,7 @@ IRC_PROTOCOL_CALLBACK(cap)
}
else if (strcmp (params[1], "ACK") == 0)
{
+ /* capabilities acknowledged */
if (num_params < 3)
return WEECHAT_RC_OK;
@@ -1200,6 +1203,7 @@ IRC_PROTOCOL_CALLBACK(cap)
}
else if (strcmp (params[1], "NAK") == 0)
{
+ /* capabilities rejected */
if (num_params < 3)
return WEECHAT_RC_OK;
@@ -1215,6 +1219,7 @@ IRC_PROTOCOL_CALLBACK(cap)
}
else if (strcmp (params[1], "NEW") == 0)
{
+ /* new capabilities available */
if (num_params < 3)
return WEECHAT_RC_OK;
@@ -1266,6 +1271,7 @@ IRC_PROTOCOL_CALLBACK(cap)
}
else if (strcmp (params[1], "DEL") == 0)
{
+ /* capabilities no longer available */
if (num_params < 3)
return WEECHAT_RC_OK;