# HG changeset patch # User Matthew Wild # Date 1713870638 -3600 # Node ID ba71fdc8ea735ef7d56e1e3ad0d0b02259ad23fc # Parent 2597e2113561fb08a1c4606ec3d3ce53a3e49a47 mod_muc_rtbl: Fix blocking of PMs from RTBL matches diff -r 2597e2113561 -r ba71fdc8ea73 mod_muc_rtbl/mod_muc_rtbl.lua --- 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);