# HG changeset patch # User Nathan Walp # Date 1070400968 0 # Node ID 3d79f9cab273a80783f706c3e051db45c5547f2b # Parent e0e73a26f1306ea35cee49a72183ab302412b0cf [gaim-migrate @ 8349] Paco-Paco suggested this. It's a good idea. committer: Tailor Script diff -r e0e73a26f130 -r 3d79f9cab273 src/protocols/jabber/auth.c --- a/src/protocols/jabber/auth.c Tue Dec 02 21:18:39 2003 +0000 +++ b/src/protocols/jabber/auth.c Tue Dec 02 21:36:08 2003 +0000 @@ -79,7 +79,7 @@ if(digest_md5) { xmlnode_set_attrib(auth, "mechanism", "DIGEST-MD5"); js->auth_type = JABBER_AUTH_DIGEST_MD5; - } else if(plain) { + } else if(plain && js->gsc != NULL) { /* only do plain if we're encrypted */ GString *response = g_string_new(""); char *enc_out;