# HG changeset patch # User Kim Alvefur # Date 1629912839 -7200 # Node ID e40ed7d93d68dd36271a8faacd7ff7fb2c29467f # Parent ce826ac8496ea64fc3ca48ef5a2b9c8a88e1f744 mod_spam_reporting: Missed a spot > Received report of function<[C]:-1>(...) from JID 'spammer@spam.test', (nil) diff -r ce826ac8496e -r e40ed7d93d68 mod_spam_reporting/mod_spam_reporting.lua --- a/mod_spam_reporting/mod_spam_reporting.lua Wed Aug 25 19:04:40 2021 +0200 +++ b/mod_spam_reporting/mod_spam_reporting.lua Wed Aug 25 19:33:59 2021 +0200 @@ -33,7 +33,7 @@ end if report_type then - module:log("warn", "Received report of %s from JID '%s', %s", type, jid, reason); + module:log("warn", "Received report of %s from JID '%s', %s", report_type, jid, reason); module:fire_event(module.name.."/"..report_type.."-report", { origin = event.origin, stanza = event.stanza, jid = jid, item = item, report = report, reason = reason, });