Mercurial > pidgin
changeset 3606:33643170bfde
[gaim-migrate @ 3719]
a bugfix
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 08 Oct 2002 21:12:53 +0000 |
parents | 1066e65b1a18 |
children | 851f421a0f8e |
files | src/server.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/server.c Tue Oct 08 05:54:12 2002 +0000 +++ b/src/server.c Tue Oct 08 21:12:53 2002 +0000 @@ -44,7 +44,7 @@ { struct prpl *p = find_prpl(user->protocol); - if (user->gc != NULL) + if (user->gc != NULL || p == NULL) return; #ifdef GAIM_PLUGINS @@ -59,7 +59,7 @@ } #endif - if (p && p->login) { + if (p->login) { if (!strlen(user->password) && !(p->options & OPT_PROTO_NO_PASSWORD)) { do_error_dialog(_("Please enter your password"), NULL, GAIM_ERROR); return;