diff options
author | daurnimator <quae@daurnimator.com> | 2014-03-31 14:46:59 -0400 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2014-03-31 14:46:59 -0400 |
commit | fbae5113588b6dd2743d72c29290613c3b7f9812 (patch) | |
tree | 5863ac87ac24632c637e07ad5662bc3c6762ca83 /plugins/muc | |
parent | 2c3dad041615c903fd05174183b7d2703681cc78 (diff) | |
download | prosody-fbae5113588b6dd2743d72c29290613c3b7f9812.tar.gz prosody-fbae5113588b6dd2743d72c29290613c3b7f9812.zip |
plugins/muc/muc.lib: Add muc-room-locked event
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/muc.lib.lua | 1 |
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() |