MUC: Fixed an incorrect error message.

Sun, 18 Oct 2009 05:37:28 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Sun, 18 Oct 2009 05:37:28 +0500
changeset 1997
c70ee886e309
parent 1996
3e6b36c6d7b7
child 1998
40792c18a8e4

MUC: Fixed an incorrect error message.

plugins/muc/muc.lib.lua file | annotate | diff | comparison | revisions
--- a/plugins/muc/muc.lib.lua	Sun Oct 18 05:35:33 2009 +0500
+++ b/plugins/muc/muc.lib.lua	Sun Oct 18 05:37:28 2009 +0500
@@ -520,7 +520,7 @@
 		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];

mercurial