mod_firewall: Fix syntax error (thanks mirux)
authorMatthew Wild <mwild1@gmail.com>
Thu, 14 Mar 2024 09:48:30 +0000
changeset 5874 1ac4a59ac575
parent 5873 faf1f1c833e8
child 5875 1c8197075d04
mod_firewall: Fix syntax error (thanks mirux)
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 = [[