Software /
code /
prosody
Changeset
7997:aca13c433e45
MUC: Log when denying entry to locked room
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 22 Mar 2017 14:13:28 +0100 |
parents | 7996:f4c0fb54e16c |
children | 7998:604beb13596a |
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 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