summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Teufel <max@teufelsnetz.com>2014-11-22 09:35:59 +0100
committerMax Teufel <max@teufelsnetz.com>2014-11-22 09:35:59 +0100
commite460d48d485d3a1ff21939ce5c47cc0d7f7d8f97 (patch)
treef527655394026898d907b0bd175f083ef909a5a4 /src
parent3890f6cb0be31042473eef78c854ec39edb866df (diff)
downloadweechat-e460d48d485d3a1ff21939ce5c47cc0d7f7d8f97.zip
irc: handle ERR_NICKLOCKED (902)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-protocol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 3ba40e417..0d8cf82f2 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -5076,7 +5076,7 @@ IRC_PROTOCOL_CALLBACK(901)
}
/*
- * Callback for the IRC messages "903" to "907".
+ * Callback for the IRC messages "902" to "907".
*
* Messages look like:
* :server 903 nick :SASL authentication successful
@@ -5363,6 +5363,7 @@ irc_protocol_recv_command (struct t_irc_server *server,
{ "734", /* monitor list is full */ 1, 0, &irc_protocol_cb_734 },
{ "900", /* logged in as (SASL) */ 1, 0, &irc_protocol_cb_900 },
{ "901", /* you are now logged in */ 1, 0, &irc_protocol_cb_901 },
+ { "902", /* SASL authentication failed because account is locked or held */ 1, 0, &irc_protocol_cb_sasl_end },
{ "903", /* SASL authentication successful */ 1, 0, &irc_protocol_cb_sasl_end },
{ "904", /* SASL authentication failed */ 1, 0, &irc_protocol_cb_sasl_end },
{ "905", /* SASL message too long */ 1, 0, &irc_protocol_cb_sasl_end },