Sat, 20 Nov 2010 18:12:13 +0000
merge of 'aacaa228480c4129f2a8b1ef2a70285027b542c0'
and '116e599c707fc47729211140c6596a57a74d5101'
--- a/libpurple/protocols/jabber/jabber.c Sat Nov 20 09:21:29 2010 +0000 +++ b/libpurple/protocols/jabber/jabber.c Sat Nov 20 18:12:13 2010 +0000 @@ -477,7 +477,7 @@ char *text = NULL, *last_part = NULL, *tag_start = NULL; /* Because debug logs with plaintext passwords make me sad */ - if(js->state != JABBER_STREAM_CONNECTED && + if (!purple_debug_is_unsafe() && js->state != JABBER_STREAM_CONNECTED && /* Either <auth> or <query><password>... */ (((tag_start = strstr(data, "<auth ")) && strstr(data, "xmlns='" NS_XMPP_SASL "'")) ||