diff options
Diffstat (limited to 'rules/rspamd.lua')
-rw-r--r-- | rules/rspamd.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rspamd.lua b/rules/rspamd.lua index 3b80a035a..e41a946cb 100644 --- a/rules/rspamd.lua +++ b/rules/rspamd.lua @@ -51,7 +51,7 @@ else end end -for local_lua in rspamd_util.glob(local_conf .. '/lua.local.d/*.lua') do +for _, local_lua in ipairs(rspamd_util.glob(local_conf .. '/lua.local.d/*.lua') or {}) do dofile(local_lua) end |