# HG changeset patch # User Kim Alvefur # Date 1490188408 -3600 # Node ID aca13c433e450b1f951bf66865c5e5b87532750a # Parent f4c0fb54e16c3bd7467a8ec1375371c29335793b MUC: Log when denying entry to locked room diff -r f4c0fb54e16c -r aca13c433e45 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Wed Mar 22 12:02:52 2017 +0100 +++ b/plugins/muc/muc.lib.lua Wed Mar 22 14:13:28 2017 +0100 @@ -496,6 +496,7 @@ 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