Mercurial > pidgin.yaz
diff plugins/irc.c @ 1864:5cb89cf24f45
[gaim-migrate @ 1874]
hi there
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 20 May 2001 02:10:34 +0000 |
parents | e246a4bd1141 |
children | 466fc4ada7cb |
line wrap: on
line diff
--- 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;