mod_report_forward: Open archive store correctly (thanks Menel)
authorMatthew Wild <mwild1@gmail.com>
Sun, 03 Mar 2024 16:05:04 +0000
changeset 5859 05356f2d4425
parent 5858 fcfe490de8a4
child 5860 6fe4dab27187
mod_report_forward: Open archive store correctly (thanks Menel)
mod_report_forward/mod_report_forward.lua
--- 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);