summaryrefslogtreecommitdiffstats
path: root/rules/rspamd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rules/rspamd.lua')
-rw-r--r--rules/rspamd.lua3
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')