diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-11-07 17:19:49 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-11-07 17:19:49 +0200 |
commit | d7e15fe4438b87e1b180213d0d30adfa44ec1621 (patch) | |
tree | 568568016052f196e9f4a016515145937a386f18 /src/plugins/lua/trie.lua | |
parent | eb5092344780be868a753dedfdc00e296f0262ad (diff) | |
download | rspamd-d7e15fe4438b87e1b180213d0d30adfa44ec1621.tar.gz rspamd-d7e15fe4438b87e1b180213d0d30adfa44ec1621.zip |
[Minor] Remove handful more globals
Diffstat (limited to 'src/plugins/lua/trie.lua')
-rw-r--r-- | src/plugins/lua/trie.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/trie.lua b/src/plugins/lua/trie.lua index ebc4e2a7e..a0ac862a5 100644 --- a/src/plugins/lua/trie.lua +++ b/src/plugins/lua/trie.lua @@ -95,7 +95,7 @@ local function process_single_pattern(pat, symbol, cf) end local function process_trie_file(symbol, cf) - file = io.open(cf['file']) + local file = io.open(cf['file']) if not file then rspamd_logger.errx(rspamd_config, 'Cannot open trie file %1', cf['file']) |