From ccb4cfcc212b83e1528115aae7095e710e550dbd Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 22 Mar 2017 14:13:28 +0100 Subject: MUC: Log when denying entry to locked room --- plugins/muc/muc.lib.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index cc147d19..df4c50bb 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -496,6 +496,7 @@ function room_mt:handle_to_occupant(origin, stanza) -- PM, vCards, etc self.locked = nil; -- Older groupchat protocol doesn't lock end elseif self.locked then -- Deny entry + module:log("debug", "Room is locked, denying entry"); origin.send(st.error_reply(stanza, "cancel", "item-not-found")); return; end -- cgit v1.2.3