Diff

plugins/muc/muc.lib.lua @ 6199:fa858cd913b1

plugins/muc/muc.lib: Add muc-room-locked event
author daurnimator <quae@daurnimator.com>
date Mon, 31 Mar 2014 14:46:59 -0400
parent 6198:8936b9fbedfd
child 6200:57bc52f67564
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua	Mon Mar 31 14:45:42 2014 -0400
+++ b/plugins/muc/muc.lib.lua	Mon Mar 31 14:46:59 2014 -0400
@@ -88,6 +88,7 @@
 end
 
 function room_mt:lock()
+	module:fire_event("muc-room-locked", { room = self });
 	self.locked = true
 end
 function room_mt:unlock()