diff options
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r-- | plugins/muc/muc.lib.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 5ab2c567..65cf3786 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -148,8 +148,8 @@ function room_mt:broadcast_message(stanza, historic) 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); |