diff src/protocols/jabber/message.c @ 11576:c66b972519e8

[gaim-migrate @ 13845] This makes invites to password protected chatrooms to work for me. People who care should test their servers. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 29 Sep 2005 04:05:06 +0000
parents 11b43807d6a6
children 12d093e3a580
line wrap: on
line diff
--- a/src/protocols/jabber/message.c	Wed Sep 28 12:44:35 2005 +0000
+++ b/src/protocols/jabber/message.c	Thu Sep 29 04:05:06 2005 +0000
@@ -335,7 +335,7 @@
 						g_free(jm->body);
 						jm->body = xmlnode_get_data(reason);
 					}
-					if((password = xmlnode_get_child(invite, "password")))
+					if((password = xmlnode_get_child(child, "password")))
 						jm->password = xmlnode_get_data(password);
 
 					jm->type = JABBER_MESSAGE_GROUPCHAT_INVITE;