Diff

mod_report_forward/mod_report_forward.lua @ 5880:6fe4dab27187

mod_report_forward: Depend on mod_spam_reporting for auto-loading
author Matthew Wild <mwild1@gmail.com>
date Sun, 03 Mar 2024 16:10:14 +0000
parent 5879:05356f2d4425
child 5881:ff90dad75352
line wrap: on
line diff
--- a/mod_report_forward/mod_report_forward.lua	Sun Mar 03 16:05:04 2024 +0000
+++ b/mod_report_forward/mod_report_forward.lua	Sun Mar 03 16:10:14 2024 +0000
@@ -6,6 +6,8 @@
 local new_id = require "util.id".short;
 local render = require"util.interpolation".new("%b{}", function (s) return s; end);
 
+module:depends("spam_reporting");
+
 local destinations = module:get_option_set("report_forward_to", {});
 
 local archive = module:open_store("archive", "archive");