Mercurial > prosody-modules
changeset 5856: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 (9 months ago) |
parents | 05356f2d4425 |
children | ff90dad75352 |
files | mod_report_forward/mod_report_forward.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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");