Diff

plugins/muc/muc.lib.lua @ 5578:b8101bc0630f

Merge 0.9->trunk
author Matthew Wild <mwild1@gmail.com>
date Tue, 14 May 2013 09:39:32 +0100
parent 5577:8b09b0d068d4
child 5580:db5d1a350cc7
child 5680:24b044f6e06d
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Sat May 11 13:55:36 2013 +0100
+++ b/plugins/muc/muc.lib.lua	Tue May 14 09:39:32 2013 +0100
@@ -767,6 +767,7 @@
 		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