--- a/mod_spam_reporting/mod_spam_reporting.lua Tue Aug 09 17:36:02 2016 +0200
+++ b/mod_spam_reporting/mod_spam_reporting.lua Tue Aug 09 17:37:31 2016 +0200
@@ -12,7 +12,7 @@
local jid = item.attr.jid;
if not report or not jid then return end
local type = report:get_child("spam") and "spam" or
- is_abuse = report:get_child("abuse") and "abuse" or
+ report:get_child("abuse") and "abuse" or
"unknown";
local reason = report:get_child_text("reason") or "no reason given";
module:log("warn", "Received report of %s from JID '%s', %s", type, jid, reason);