From 677a1b26b263120cd90e0cfd879949a9a5d7c0be Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 27 Sep 2011 21:49:24 +0200 Subject: [PATCH] irc: add missing messages for whois: 223, 264 --- ChangeLog | 1 + src/plugins/irc/irc-protocol.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4dd7c8052..0b65a8bb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -86,6 +86,7 @@ Version 0.3.6 (under dev!) description for option when function is called) * scripts: fix crash with scripts not auto-loaded having a buffer opened after /upgrade (input/close callbacks for buffer not set properly) +* irc: add missing messages for whois: 223, 264, 343 * irc: use high priority queue for sending modes and wallchops messages * irc: allow reason for command /disconnect * irc: allow server name for commands /die and /restart diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index fb0626ed5..8fc082e8d 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -4210,6 +4210,8 @@ irc_protocol_recv_command (struct t_irc_server *server, { "001", /* a server message */ 1, &irc_protocol_cb_001 }, { "005", /* a server message */ 1, &irc_protocol_cb_005 }, { "221", /* user mode string */ 1, &irc_protocol_cb_221 }, + { "223", /* whois (charset is) */ 1, &irc_protocol_cb_whois_nick_msg }, + { "264", /* whois (is using encrypted connection) */ 1, &irc_protocol_cb_whois_nick_msg }, { "275", /* whois (secure connection) */ 1, &irc_protocol_cb_whois_nick_msg }, { "276", /* whois (has client certificate fingerprint) */ 1, &irc_protocol_cb_whois_nick_msg }, { "301", /* away message */ 1, &irc_protocol_cb_301 },