Changeset

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
parents 6198:8936b9fbedfd
children 6200:57bc52f67564
files plugins/muc/muc.lib.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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()