aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2014-03-31 14:46:59 -0400
committerdaurnimator <quae@daurnimator.com>2014-03-31 14:46:59 -0400
commit4942d8729f5ab8ae88cbbf1f737055359e6c6ceb (patch)
tree5863ac87ac24632c637e07ad5662bc3c6762ca83 /plugins/muc
parentb4fe6a7f30c62cec91442d4f2abcb904d30ad6b1 (diff)
downloadprosody-4942d8729f5ab8ae88cbbf1f737055359e6c6ceb.tar.gz
prosody-4942d8729f5ab8ae88cbbf1f737055359e6c6ceb.zip
plugins/muc/muc.lib: Add muc-room-locked event
Diffstat (limited to 'plugins/muc')
-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 c8881178..d839786a 100644
--- a/plugins/muc/muc.lib.lua
+++ b/plugins/muc/muc.lib.lua
@@ -88,6 +88,7 @@ function room_mt:get_default_role(affiliation)
end
function room_mt:lock()
+ module:fire_event("muc-room-locked", { room = self });
self.locked = true
end
function room_mt:unlock()