aboutsummaryrefslogtreecommitdiffstats
path: root/util/muc.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-26 21:50:27 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-26 21:50:27 +0500
commit8fe98de119a76ae60a700286c0a9614e8d7093f5 (patch)
tree720079b33f2e3680dfc791b863eb28dbc6c60f23 /util/muc.lua
parentf2ce64eb08a5558ffd5fe09519f617b57aa0f1b3 (diff)
downloadprosody-8fe98de119a76ae60a700286c0a9614e8d7093f5.tar.gz
prosody-8fe98de119a76ae60a700286c0a9614e8d7093f5.zip
util.muc: Fixed incorrect parameters for a function call
Diffstat (limited to 'util/muc.lua')
-rw-r--r--util/muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/muc.lua b/util/muc.lua
index 2bb1311a..a9d32d8b 100644
--- a/util/muc.lua
+++ b/util/muc.lua
@@ -315,7 +315,7 @@ local function room_handle_to_room(self, origin, stanza) -- presence changes and
local current_nick = self._jid_nick[stanza.attr.from];
if current_nick then
stanza.attr.to = current_nick;
- room_handle_to_occupant(origin, stanza);
+ room_handle_to_occupant(self, origin, stanza);
stanza.attr.to = to;
elseif type ~= "error" and type ~= "result" then
origin.send(st.error_reply(stanza, "cancel", "service-unavailable"));