MUC: Fixed an incorrect error message.
authorWaqas Hussain <waqas20@gmail.com>
Sun, 18 Oct 2009 00:37:28 +0000 (05:37 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Sun, 18 Oct 2009 00:37:28 +0000 (05:37 +0500)
plugins/muc/muc.lib.lua

index 0fb91b53d38f417a9d3ec05e41c2537cd9beb3cd..9076348f2f7d428349bcf15aeccf895fe22dd066 100644 (file)
@@ -520,7 +520,7 @@ function room_mt:handle_to_room(origin, stanza) -- presence changes and groupcha
                local current_nick = self._jid_nick[stanza.attr.from];
                log("debug", "%s kicked from %s for sending an error message", current_nick, self.jid);
                self:handle_to_occupant(origin, st.presence({type='unavailable', from=stanza.attr.from, to=stanza.attr.to})
-                       :tag('status'):text('This participant is kicked from the room because he sent an error message to another occupant')); -- send unavailable
+                       :tag('status'):text('This participant is kicked from the room because he sent an error message')); -- send unavailable
        elseif stanza.name == "presence" then -- hack - some buggy clients send presence updates to the room rather than their nick
                local to = stanza.attr.to;
                local current_nick = self._jid_nick[stanza.attr.from];