aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/trie.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-07 17:19:49 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-07 17:19:49 +0200
commitd7e15fe4438b87e1b180213d0d30adfa44ec1621 (patch)
tree568568016052f196e9f4a016515145937a386f18 /src/plugins/lua/trie.lua
parenteb5092344780be868a753dedfdc00e296f0262ad (diff)
downloadrspamd-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.lua2
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'])