mod_firewall/actions.lib.lua
changeset 5874 1ac4a59ac575
parent 5871 3f5644aa5c32
--- 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 = [[