Diff

mod_report_forward/mod_report_forward.lua @ 5879:05356f2d4425

mod_report_forward: Open archive store correctly (thanks Menel)
author Matthew Wild <mwild1@gmail.com>
date Sun, 03 Mar 2024 16:05:04 +0000
parent 5878:fcfe490de8a4
child 5880:6fe4dab27187
line wrap: on
line diff
--- a/mod_report_forward/mod_report_forward.lua	Sun Mar 03 16:03:27 2024 +0000
+++ b/mod_report_forward/mod_report_forward.lua	Sun Mar 03 16:05:04 2024 +0000
@@ -8,7 +8,7 @@
 
 local destinations = module:get_option_set("report_forward_to", {});
 
-local archive = module:open("archive");
+local archive = module:open_store("archive", "archive");
 
 local cache_size = module:get_option_number("report_forward_contact_cache_size", 256);
 local report_to_origin = module:get_option_boolean("report_forward_to_origin", true);