util/muc.lua

changeset 1426
6ad9500a90a4
parent 1353
5f169bd454ca
child 1427
3bcab7c71edf
--- 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