aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-14 16:28:01 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-14 16:28:01 +0500
commitda05cf050d1e28c408c432a54249eb52a73dd348 (patch)
treebcf0eff39336b6282201940798c396010d107507 /util
parentcdea8358b2f1dd818633967f16c0ac29af3fd95c (diff)
downloadprosody-da05cf050d1e28c408c432a54249eb52a73dd348.tar.gz
prosody-da05cf050d1e28c408c432a54249eb52a73dd348.zip
util.muc: Fixed error occuring on room leave
Diffstat (limited to 'util')
-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