# HG changeset patch # User Matthew Wild # Date 1710409710 0 # Node ID 1ac4a59ac575b252e47e1d616e7d3cd2200f1787 # Parent faf1f1c833e8c932d0b18e532d2d30b639b71463 mod_firewall: Fix syntax error (thanks mirux) diff -r faf1f1c833e8 -r 1ac4a59ac575 mod_firewall/actions.lib.lua --- a/mod_firewall/actions.lib.lua Thu Mar 14 09:55:46 2024 +0100 +++ b/mod_firewall/actions.lib.lua Thu Mar 14 09:48:30 2024 +0000 @@ -263,7 +263,7 @@ local where, reason, text = spec:match("^%s*(%S+) *(%S*) *(.*)$"); if reason == "spam" then reason = "urn:xmpp:reporting:spam"; - elseif reason == "abuse" or not reason or reason = "" then + elseif reason == "abuse" or not reason or reason == "" then reason = "urn:xmpp:reporting:abuse"; end local code = [[