diff plugins/irc.c @ 1866:466fc4ada7cb

[gaim-migrate @ 1876] more proxy fixes. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 20 May 2001 10:35:47 +0000
parents 5cb89cf24f45
children c0a69f90d662
line wrap: on
line diff
--- a/plugins/irc.c	Sun May 20 09:09:02 2001 +0000
+++ b/plugins/irc.c	Sun May 20 10:35:47 2001 +0000
@@ -1863,7 +1863,7 @@
 			atoi(user->proto_opt[USEROPT_PROXYTYPE]),
 			user->proto_opt[USEROPT_USER], user->proto_opt[USEROPT_PASS],
 			irc_login_callback, gc);
-	if (user->gc && (idata->fd < 0)) {
+	if (!user->gc || (idata->fd < 0)) {
 		hide_login_progress(gc, "Unable to create socket");
 		signoff(gc);
 		return;