Mercurial > prosody-modules
changeset 5890:ba71fdc8ea73
mod_muc_rtbl: Fix blocking of PMs from RTBL matches
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 23 Apr 2024 12:10:38 +0100 |
parents | 2597e2113561 |
children | 512f912fdfa5 |
files | mod_muc_rtbl/mod_muc_rtbl.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_rtbl/mod_muc_rtbl.lua Wed Apr 17 16:48:22 2024 +0100 +++ b/mod_muc_rtbl/mod_muc_rtbl.lua Tue Apr 23 12:10:38 2024 +0100 @@ -164,7 +164,7 @@ module:log("debug", "Blocked private message from user <%s> from room <%s> due to RTBL match", occupant.bare_jid, event.stanza.attr.to); local error_reply = st.error_reply(event.stanza, "cancel", "forbidden", "You are banned from this service", event.room.jid); event.origin.send(error_reply); - return true; + return false; -- Don't route it end end);