pidgin/pidgin

9a21b3ce6ed7
Parents bbb57182e566
Children 3542f04b5e52
Followup on 639ec03ba1ba related to the IRC security fixes - also fix debugging

Refs #15451
--- a/libpurple/protocols/irc/msgs.c Tue Jan 21 21:41:22 2014 -0500
+++ b/libpurple/protocols/irc/msgs.c Tue Jan 21 21:50:00 2014 -0500
@@ -387,7 +387,7 @@
} else if (!strcmp(name, "320")) {
irc->whois.identified = 1;
} else if (!strcmp(name, "330")) {
- g_message("msg %s: 1=[%s] 2=[%s] 3=[%s]",
+ purple_debug(PURPLE_DEBUG_INFO, "irc", "330 %s: 1=[%s] 2=[%s] 3=[%s]",
name, args[1], args[2], args[3]);
if (!strcmp(args[3], "is logged in as"))
irc->whois.login = g_strdup(args[2]);
--- a/libpurple/protocols/irc/parse.c Tue Jan 21 21:41:22 2014 -0500
+++ b/libpurple/protocols/irc/parse.c Tue Jan 21 21:50:00 2014 -0500
@@ -69,7 +69,7 @@
{ "318", "nt:", 2, irc_msg_endwhois }, /* End of WHOIS */
{ "319", "nn:", 3, irc_msg_whois }, /* Whois channels */
{ "320", "nn:", 2, irc_msg_whois }, /* Whois (fn ident) */
- { "330", "nnv:", irc_msg_whois }, /* Whois (fn login) */
+ { "330", "nnv:", 4, irc_msg_whois }, /* Whois (fn login) */
{ "314", "nnnvv:", 6, irc_msg_whois }, /* Whowas user */
{ "315", "nt:", 0, irc_msg_who }, /* end of WHO channel */
{ "369", "nt:", 2, irc_msg_endwhois }, /* End of WHOWAS */