plugins/muc/muc.lib.lua

changeset 1751
55ee6e792e3e
parent 1750
a1c18470eeee
child 1752
4db786919805
--- a/plugins/muc/muc.lib.lua	Mon Sep 07 20:41:42 2009 +0500
+++ b/plugins/muc/muc.lib.lua	Mon Sep 07 20:43:25 2009 +0500
@@ -148,8 +148,8 @@
 	end
 end
 function room_mt:broadcast_except_nick(stanza, nick)
-	for nick, occupant in pairs(self._occupants) do
-		if nick ~= nick then
+	for rnick, occupant in pairs(self._occupants) do
+		if rnick ~= nick then
 			for jid in pairs(occupant.sessions) do
 				stanza.attr.to = jid;
 				self:route_stanza(stanza);

mercurial