aboutsummaryrefslogtreecommitdiffstats
path: root/util/muc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/muc.lua')
-rw-r--r--util/muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/muc.lua b/util/muc.lua
index 305157d8..6b505c7c 100644
--- a/util/muc.lua
+++ b/util/muc.lua
@@ -195,7 +195,7 @@ local function room_handle_to_occupant(self, origin, stanza) -- PM, vCards, etc
log("debug", "%s leaving %s", current_nick, room);
local data = self._participants[current_nick];
data.role = 'none';
- room_broadcast_presence(room, pr);
+ room_broadcast_presence(self, pr);
self._participants[current_nick] = nil;
self._jid_nick[from] = nil;
end