# HG changeset patch # User Sean Egan # Date 1034111573 0 # Node ID 33643170bfde5f4c89771eaa43a87c7f98948854 # Parent 1066e65b1a189145a79fd47ccfc372987479764e [gaim-migrate @ 3719] a bugfix committer: Tailor Script diff -r 1066e65b1a18 -r 33643170bfde src/server.c --- 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;