Mercurial > pidgin.yaz
changeset 16851: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 | f3874ba27a27 |
children | b05f0afdc8f1 f4bebd09c671 |
files | libpurple/protocols/irc/msgs.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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 */