diff options
-rw-r--r-- | rules/rspamd.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rules/rspamd.lua b/rules/rspamd.lua index b96ef5e02..a9a38a997 100644 --- a/rules/rspamd.lua +++ b/rules/rspamd.lua @@ -51,10 +51,10 @@ local function file_exists(filename) end end -if file_exists(local_conf .. 'rspamd.local.lua') then - dofile(local_conf .. 'rspamd.local.lua') +if file_exists(local_conf .. '/rspamd.local.lua') then + dofile(local_conf .. '/rspamd.local.lua') end -if file_exists(local_rules .. 'rspamd.classifiers.lua') then - dofile(local_rules .. 'rspamd.classifiers.lua') +if file_exists(local_rules .. '/rspamd.classifiers.lua') then + dofile(local_rules .. '/rspamd.classifiers.lua') end |