Software /
code /
prosody
Diff
plugins/muc/lock.lib.lua @ 11200:bf8f2da84007
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 05 Nov 2020 22:31:25 +0100 |
parent | 10450:c1edeb9fe337 |
child | 12977:74b9e05af71e |
line wrap: on
line diff
--- a/plugins/muc/lock.lib.lua Thu Nov 05 22:27:17 2020 +0100 +++ b/plugins/muc/lock.lib.lua Thu Nov 05 22:31:25 2020 +0100 @@ -43,7 +43,7 @@ module:hook("muc-occupant-pre-join", function(event) if not event.is_new_room and is_locked(event.room) then -- Deny entry module:log("debug", "Room is locked, denying entry"); - event.origin.send(st.error_reply(event.stanza, "cancel", "item-not-found")); + event.origin.send(st.error_reply(event.stanza, "cancel", "item-not-found", nil, module.host)); return true; end end, -30);