Software /
code /
prosody
Diff
util/muc.lua @ 1349:1d6c4a6c75e5
util.muc: Fixed error occuring on room leave
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 14 Jun 2009 16:28:01 +0500 |
parent | 1170:4845372a2c03 |
child | 1350:ea43c371228a |
line wrap: on
line diff
--- a/util/muc.lua Sun Jun 14 14:28:20 2009 +0500 +++ b/util/muc.lua Sun Jun 14 16:28:01 2009 +0500 @@ -195,7 +195,7 @@ 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