# HG changeset patch # User Matthew Wild # Date 1686225859 -3600 # Node ID 7b4e0c3642bfff28685a58b9d688446afe635220 # Parent 09311a8a3cfaf10c1a13a985417830cc899ff258 mod_firewall: Fix inverted logic of 'FROM FULL JID?' diff -r 09311a8a3cfa -r 7b4e0c3642bf mod_firewall/conditions.lib.lua --- a/mod_firewall/conditions.lib.lua Thu Jun 08 12:20:34 2023 +0100 +++ b/mod_firewall/conditions.lib.lua Thu Jun 08 13:04:19 2023 +0100 @@ -68,7 +68,7 @@ end function condition_handlers.FROM_FULL_JID() - return compile_jid_match_part("from_resource", nil), { "split_from" }; + return "not "..compile_jid_match_part("from_resource", nil), { "split_from" }; end function condition_handlers.FROM_EXACTLY(from)