libpurple/protocols/irc/msgs.c

changeset 16893
f7c5d28375a8
parent 16474
bc8580a69dba
child 16993
536c1485c139
--- 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 */

mercurial