diff options
Diffstat (limited to 'lualib/lua_meta.lua')
-rw-r--r-- | lualib/lua_meta.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_meta.lua b/lualib/lua_meta.lua index 0161eb5c9..d81709dab 100644 --- a/lualib/lua_meta.lua +++ b/lualib/lua_meta.lua @@ -357,7 +357,7 @@ local metafunctions = { } local function rspamd_gen_metatokens(task) - local rspamd_logger = require "rspamd_logger" + local lua_util = require "lua_util" local ipairs = ipairs local metatokens = {} local cached = task:cache_get('metatokens') @@ -368,7 +368,7 @@ local function rspamd_gen_metatokens(task) for _,mt in ipairs(metafunctions) do local ct = mt.cb(task) for i,tok in ipairs(ct) do - rspamd_logger.debugm(N, task, "metatoken: %s = %s", mt.desc[i], tok) + lua_util.debugm(N, task, "metatoken: %s = %s", mt.desc[i], tok) table.insert(metatokens, tok) end end |