Changeset

1426:6ad9500a90a4

util.muc: Fixed incorrect parameters for a function call
author Waqas Hussain <waqas20@gmail.com>
date Fri, 26 Jun 2009 21:50:27 +0500
parents 1425:8187f72b7425
children 1427:3bcab7c71edf
files util/muc.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"));