Mercurial > pidgin
diff libpurple/protocols/irc/msgs.c @ 16840:a82444e61ece
Fix broken IRC servers which do not send a 255 numeric
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Thu, 03 May 2007 22:07:59 +0000 |
parents | 6447865b2d08 |
children | c417cc8403e3 |
line wrap: on
line diff
--- a/libpurple/protocols/irc/msgs.c Thu May 03 19:55:50 2007 +0000 +++ b/libpurple/protocols/irc/msgs.c Thu May 03 22:07:59 2007 +0000 @@ -109,7 +109,9 @@ if (!strcmp(name, "251")) { /* 251 is required, so we pluck our nick from here */ purple_connection_set_display_name(gc, args[0]); - } else if (!strcmp(name, "255")) { + /* Some IRC servers seem to not send a 255 numeric, so + * I guess we can't require it; 251 will do. */ + /* } else if (!strcmp(name, "255")) { */ purple_connection_set_state(gc, PURPLE_CONNECTED); /* If we're away then set our away message */