diff -r 8187f72b7425 -r 6ad9500a90a4 util/muc.lua --- 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"));