--- a/plugins/irc.c Sun May 20 00:01:55 2001 +0000 +++ b/plugins/irc.c Sun May 20 02:10:34 2001 +0000 @@ -36,6 +36,7 @@ #include <time.h> #include <sys/socket.h> #include <sys/stat.h> +#include <ctype.h> #include "multi.h" #include "prpl.h" #include "gaim.h" @@ -1862,7 +1863,7 @@ atoi(user->proto_opt[USEROPT_PROXYTYPE]), user->proto_opt[USEROPT_USER], user->proto_opt[USEROPT_PASS], irc_login_callback, gc); - if (idata->fd < 0) { + if (user->gc && (idata->fd < 0)) { hide_login_progress(gc, "Unable to create socket"); signoff(gc); return;