aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_util.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-15 16:24:44 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-03-15 16:24:44 +0000
commit5321190dc5e445cb5a81143be7bfd6fe0afc13b0 (patch)
tree0b18a4b5ef360b180eaa2c7ddb3bd0fa8c227c02 /lualib/lua_util.lua
parentd54cddeeee88a24bcfa75a9144989812fcd11208 (diff)
downloadrspamd-5321190dc5e445cb5a81143be7bfd6fe0afc13b0.tar.gz
rspamd-5321190dc5e445cb5a81143be7bfd6fe0afc13b0.zip
[Project] Add some generic code to squeeze lua rules
Diffstat (limited to 'lualib/lua_util.lua')
-rw-r--r--lualib/lua_util.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua
index d41d79fea..33d7e3714 100644
--- a/lualib/lua_util.lua
+++ b/lualib/lua_util.lua
@@ -22,6 +22,7 @@ limitations under the License.
local exports = {}
local lpeg = require 'lpeg'
+
local split_grammar = {}
local function rspamd_str_split(s, sep)
local gr = split_grammar[sep]