diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-18 16:04:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-05-18 16:40:48 +0100 |
commit | 01d8f7e7a8f62a4797ebbd446b0b975d1ae735ae (patch) | |
tree | 4e3e31c62160eda5f9a6bd664fed029fa35c134a /rules/rspamd.lua | |
parent | de8eb1d9a3b915fc932cc9f97581505ecefa47df (diff) | |
download | rspamd-01d8f7e7a8f62a4797ebbd446b0b975d1ae735ae.tar.gz rspamd-01d8f7e7a8f62a4797ebbd446b0b975d1ae735ae.zip |
[Rework] Move global functions to a separate directory
Diffstat (limited to 'rules/rspamd.lua')
-rw-r--r-- | rules/rspamd.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/rspamd.lua b/rules/rspamd.lua index ce461d8d3..3cdd626f9 100644 --- a/rules/rspamd.lua +++ b/rules/rspamd.lua @@ -16,12 +16,13 @@ limitations under the License. -- This is main lua config file for rspamd +require "global_functions" () + config['regexp'] = {} local local_conf = rspamd_paths['CONFDIR'] local local_rules = rspamd_paths['RULESDIR'] -dofile(local_rules .. '/global_functions.lua') dofile(local_rules .. '/regexp/headers.lua') dofile(local_rules .. '/regexp/misc.lua') dofile(local_rules .. '/regexp/upstream_spam_filters.lua') |