author | Matthew Wild <mwild1@gmail.com> |
Tue, 12 Mar 2024 14:27:43 +0000 | |
changeset 5869 | bfc35ae9edcb |
parent 5868 | b5a110544fd4 |
child 5870 | 1d1eadff331d |
--- a/mod_firewall/actions.lib.lua Tue Mar 12 14:07:00 2024 +0000 +++ b/mod_firewall/actions.lib.lua Tue Mar 12 14:27:43 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 then + elseif reason == "abuse" or not reason or reason = "" then reason = "urn:xmpp:reporting:abuse"; end local code = [[