aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-18 05:37:28 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-18 05:37:28 +0500
commit9142781f31abdb9d22439ec3025ef12a2b57561e (patch)
tree9eec533227a92aaa89edce5530400567cd8eb28a /plugins
parent6efc411a5c6586f09a9bbceaaa4f68c21da55bdb (diff)
downloadprosody-9142781f31abdb9d22439ec3025ef12a2b57561e.tar.gz
prosody-9142781f31abdb9d22439ec3025ef12a2b57561e.zip
MUC: Fixed an incorrect error message.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/muc.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index 0fb91b53..9076348f 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -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];