changeset 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 b7d9d00a4ef9
children 2898c59b49a3
files src/protocols/jabber/message.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;