Merge 0.9->0.10
authorMatthew Wild <mwild1@gmail.com>
Wed, 16 Dec 2015 16:45:57 +0000 (16:45 +0000)
committerMatthew Wild <mwild1@gmail.com>
Wed, 16 Dec 2015 16:45:57 +0000 (16:45 +0000)
plugins/muc/muc.lib.lua

index 6f21ec3a14013afa92cecd899c60bc9ecc51f47d..b96288edab0f2fa4359ccd8eb3537ade22ca2372 100644 (file)
@@ -714,7 +714,7 @@ function room_mt:process_form(origin, stanza)
 
        if next(changed) then
                local msg = st.message({type='groupchat', from=self.jid})
-                       :tag('x', {xmlns='http://jabber.org/protocol/muc#user'}):up()
+                       :tag('x', {xmlns='http://jabber.org/protocol/muc#user'})
                                :tag('status', {code = '104'}):up();
                if changed.whois then
                        local code = (self:get_whois() == 'moderators') and "173" or "172";