util.muc: Fixed incorrect parameters for a function call

Fri, 26 Jun 2009 21:50:27 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Fri, 26 Jun 2009 21:50:27 +0500
changeset 1426
6ad9500a90a4
parent 1425
8187f72b7425
child 1427
3bcab7c71edf

util.muc: Fixed incorrect parameters for a function call

util/muc.lua file | annotate | diff | comparison | revisions
--- a/util/muc.lua	Fri Jun 26 18:46:52 2009 +0500
+++ b/util/muc.lua	Fri Jun 26 21:50:27 2009 +0500
@@ -315,7 +315,7 @@
 		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"));

mercurial