aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/muc.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-14 09:39:32 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-14 09:39:32 +0100
commit70ccc2bbe148c6425641d0db423879a719bf3f21 (patch)
treeb86a1c45fbce3384d59838f15874809dfd441913 /plugins/muc/muc.lib.lua
parentae059bfe54a4d444e49085629392154fa3b206f1 (diff)
parentab3a99ef852a918a094b0176fa50a19a64361241 (diff)
downloadprosody-70ccc2bbe148c6425641d0db423879a719bf3f21.tar.gz
prosody-70ccc2bbe148c6425641d0db423879a719bf3f21.zip
Merge 0.9->trunk
Diffstat (limited to 'plugins/muc/muc.lib.lua')
-rw-r--r--plugins/muc/muc.lib.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua
index a5aba3c8..1ea231f3 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -767,6 +767,7 @@ function room_mt:destroy(newjid, reason, password)
self._occupants[nick] = nil;
end
self:set_persistent(false);
+ module:fire_event("muc-room-destroyed", { room = self });
end
function room_mt:handle_to_room(origin, stanza) -- presence changes and groupchat messages, along with disco/etc