diff src/multi.c @ 3789:fb519383a058

[gaim-migrate @ 3929] IRC passwd patch from Chip. Fixed a compile warning in conversation.c. Nathan, tell me if this breaks anything ;-) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Tue, 22 Oct 2002 23:31:49 +0000
parents 6400b37e0c35
children 43e396e94095
line wrap: on
line diff
--- a/src/multi.c	Tue Oct 22 23:18:45 2002 +0000
+++ b/src/multi.c	Tue Oct 22 23:31:49 2002 +0000
@@ -1066,7 +1066,8 @@
 	p = find_prpl(u->protocol);
 	if (!u->gc && p && p->login) {
 		struct prpl *p = find_prpl(u->protocol);
-		if (p && !(p->options & OPT_PROTO_NO_PASSWORD) && !u->password[0]) {
+		if (p && !(p->options & OPT_PROTO_NO_PASSWORD) &&
+			!(p->options & OPT_PROTO_PASSWORD_OPTIONAL) && !u->password[0]) {
 			do_pass_dlg(u);
 		} else {
 			serv_login(u);