diff src/connection.c @ 6036:547ba881bc7e

[gaim-migrate @ 6486] Fix the --login=[NAME] command line argument. Fix the password prompt when signing on an account with no password set. I made some similar changes that probably fix problems with the filectl plugin, using gaim-remote to sign on an account, and signing on an account via perl script. (The change is calling gaim_account_connect() instead of serv_login().) Fix a silly compiler warning. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 05 Jul 2003 22:24:57 +0000
parents 38999b6b1838
children 8d6aa792e0f6
line wrap: on
line diff
--- a/src/connection.c	Sat Jul 05 21:54:19 2003 +0000
+++ b/src/connection.c	Sat Jul 05 22:24:57 2003 +0000
@@ -102,7 +102,7 @@
 
 	account = gaim_connection_get_account(gc);
 
-	if ((prpl_info->options & OPT_PROTO_NO_PASSWORD) &&
+	if (!(prpl_info->options & OPT_PROTO_NO_PASSWORD) &&
 		!(prpl_info->options & OPT_PROTO_PASSWORD_OPTIONAL) &&
 		gaim_account_get_password(account) == NULL) {