# HG changeset patch # User Ethan Blanton # Date 1178230079 0 # Node ID a82444e61ece46aca889c2e3f9b6af8db93dc737 # Parent f3874ba27a27efd114acffefb53db65e5e16defc Fix broken IRC servers which do not send a 255 numeric diff -r f3874ba27a27 -r a82444e61ece libpurple/protocols/irc/msgs.c --- 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 */