--- a/mod_checkcerts/mod_checkcerts.lua Tue Jun 29 12:48:42 2021 +0200
+++ b/mod_checkcerts/mod_checkcerts.lua Wed Jun 30 14:33:06 2021 +0200
@@ -77,7 +77,7 @@
module:log(log_warn and "warn" or "info", fmt, certfile, timediff);
if nag_admin then
local body = fmt:format("for host ".. module.host, timediff);
- for _,admin in ipairs(module:get_option_array("admins", {})) do
+ for admin in module:get_option_inherited_set("admins", {}) do
module:send(st.message({ from = module.host, to = admin, type = "chat" }, body));
end
end