diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-06-26 21:50:27 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-06-26 21:50:27 +0500 |
commit | 8fe98de119a76ae60a700286c0a9614e8d7093f5 (patch) | |
tree | 720079b33f2e3680dfc791b863eb28dbc6c60f23 | |
parent | f2ce64eb08a5558ffd5fe09519f617b57aa0f1b3 (diff) | |
download | prosody-8fe98de119a76ae60a700286c0a9614e8d7093f5.tar.gz prosody-8fe98de119a76ae60a700286c0a9614e8d7093f5.zip |
util.muc: Fixed incorrect parameters for a function call
-rw-r--r-- | util/muc.lua | 2 |
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")); |