plugins/muc/muc.lib.lua
changeset 6188 f47268c8a8d0
parent 6187 c0b4b5d41e55
child 6189 c54ef63f6e20
--- a/plugins/muc/muc.lib.lua	Fri Mar 28 17:58:25 2014 -0400
+++ b/plugins/muc/muc.lib.lua	Fri Mar 28 18:33:38 2014 -0400
@@ -1013,8 +1013,9 @@
 
 	if next(changed) then
 		local msg = st.message({type='groupchat', from=self.jid})
-			:tag('x', {xmlns='http://jabber.org/protocol/muc#user'}):up()
-				:tag('status', {code = '104'}):up();
+			:tag('x', {xmlns='http://jabber.org/protocol/muc#user'})
+				:tag('status', {code = '104'}):up()
+			:up();
 		if changed.whois then
 			local code = (self:get_whois() == 'moderators') and "173" or "172";
 			msg.tags[1]:tag('status', {code = code}):up();