diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-12-13 22:46:32 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-12-13 22:46:32 +0000 |
commit | c1d2d836526df04c66ab40e31bdf8f80951bb64f (patch) | |
tree | a7e81acc6b80888aee6b612f085501f447d8a2bb /lualib/lua_selectors | |
parent | b29fa2e81b4e04dab29b05d0750d527bb9998aa1 (diff) | |
download | rspamd-c1d2d836526df04c66ab40e31bdf8f80951bb64f.tar.gz rspamd-c1d2d836526df04c66ab40e31bdf8f80951bb64f.zip |
[Minor] Avoid cyclic require - it doesn't work in Lua
Diffstat (limited to 'lualib/lua_selectors')
-rw-r--r-- | lualib/lua_selectors/extractors.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_selectors/extractors.lua b/lualib/lua_selectors/extractors.lua index fa5fd314f..581add2a7 100644 --- a/lualib/lua_selectors/extractors.lua +++ b/lualib/lua_selectors/extractors.lua @@ -22,7 +22,7 @@ local common = require "lua_selectors/common" local ts = require("tableshape").types local maps = require "lua_selectors/maps" local E = {} -local M = (require "lua_selectors").M +local M = "selectors" local url_flags_ts = ts.array_of(ts.one_of(lua_util.keys(rspamd_url.flags))):is_optional() |