Mercurial > pidgin
diff libpurple/protocols/irc/msgs.c @ 17097:31c49d31edea
Oops; I made some errors in the last commit. This is a fix of my
commit of xjoe's patch to correct signon to dircproxy IRC proxies.
Fixes: #1019
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 15 May 2007 17:19:47 +0000 |
parents | 7a88187629ff |
children | d04b1617da3d |
line wrap: on
line diff
--- a/libpurple/protocols/irc/msgs.c Tue May 15 17:13:00 2007 +0000 +++ b/libpurple/protocols/irc/msgs.c Tue May 15 17:19:47 2007 +0000 @@ -71,7 +71,7 @@ g_free(message); } -static void irc_connected(struct irc_conn *irc, const char *nick); +static void irc_connected(struct irc_conn *irc, const char *nick) { PurpleConnection *gc; PurpleStatus *status; @@ -145,14 +145,10 @@ if (!args || !args[0]) return; - gc = purple_account_get_connection(irc->account); - if (!gc) - return; - if (!strcmp(name, "251")) { /* 251 is required, so we pluck our nick from here and * finalize connection */ - irc_connected(irc, args[0]) + irc_connected(irc, args[0]); /* 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")) { */