Mercurial > prosody-modules
diff mod_firewall/actions.lib.lua @ 5870:1ac4a59ac575
mod_firewall: Fix syntax error (thanks mirux)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 14 Mar 2024 09:48:30 +0000 |
| parents | 3f5644aa5c32 |
| children | f61564e11d3b |
line wrap: on
line diff
--- 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 = [[
