aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_selectors
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-12-13 22:46:32 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-12-13 22:46:32 +0000
commitc1d2d836526df04c66ab40e31bdf8f80951bb64f (patch)
treea7e81acc6b80888aee6b612f085501f447d8a2bb /lualib/lua_selectors
parentb29fa2e81b4e04dab29b05d0750d527bb9998aa1 (diff)
downloadrspamd-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.lua2
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()