Software /
code /
verse
Diff
plugins/groupchat.lua @ 189:033f1bd7420d
plugins.groupchat: Fix self reference when leaving rooms
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 01 Feb 2011 04:53:40 +0100 |
parent | 187:7ad218bd5fde |
child | 197:7e98cf2c1d8d |
line wrap: on
line diff
--- a/plugins/groupchat.lua Tue Jan 25 19:33:15 2011 +0100 +++ b/plugins/groupchat.lua Tue Feb 01 04:53:40 2011 +0100 @@ -142,7 +142,7 @@ end function room_mt:leave(message) - self.stream:event("groupchat/leaving", room); + self.stream:event("groupchat/leaving", self); self:send(st.presence({type="unavailable"})); end