# HG changeset patch # User Ethan Blanton # Date 1166748463 0 # Node ID ccad8138a4b2d9fbb0466925e2104fcf1d99be71 # Parent 85aae248c58933fcea26fc86a57df43d51b42363 [gaim-migrate @ 18041] The IRC room namelist was not being parsed properly on ircds which do not append a space following the last nick on a 353 line which is not final. The RFC does not seem to require such a space, and apparently some servers do not send it. Thanks to jphendrix for pointing this out. committer: Tailor Script diff -r 85aae248c589 -r ccad8138a4b2 libgaim/protocols/irc/msgs.c --- a/libgaim/protocols/irc/msgs.c Thu Dec 21 23:57:27 2006 +0000 +++ b/libgaim/protocols/irc/msgs.c Fri Dec 22 00:47:43 2006 +0000 @@ -434,6 +434,8 @@ if (!irc->names) irc->names = g_string_new(""); + if (irc->names->len && irc->names->str[irc->names->len - 1] != ' ') + irc->names = g_string_append_c(irc->names, ' '); irc->names = g_string_append(irc->names, args[3]); } }