diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-06-14 16:28:01 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-06-14 16:28:01 +0500 |
commit | da05cf050d1e28c408c432a54249eb52a73dd348 (patch) | |
tree | bcf0eff39336b6282201940798c396010d107507 | |
parent | cdea8358b2f1dd818633967f16c0ac29af3fd95c (diff) | |
download | prosody-da05cf050d1e28c408c432a54249eb52a73dd348.tar.gz prosody-da05cf050d1e28c408c432a54249eb52a73dd348.zip |
util.muc: Fixed error occuring on room leave
-rw-r--r-- | util/muc.lua | 2 |
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 |