From: Andrew Lewis Date: Mon, 27 Oct 2025 16:11:23 +0000 (+0200) Subject: [Fix] Unbreak `rspamadm dnstool` X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=99beb3b25d45aaf25d39c206a52aaf932e0b11e9;p=thirdparty%2Frspamd.git [Fix] Unbreak `rspamadm dnstool` --- diff --git a/lualib/rspamadm/dns_tool.lua b/lualib/rspamadm/dns_tool.lua index 3eb09a82bb..b9324fc246 100644 --- a/lualib/rspamadm/dns_tool.lua +++ b/lualib/rspamadm/dns_tool.lua @@ -88,7 +88,7 @@ local function spf_handler(opts) local rspamd_task = require "rspamd_task" local rspamd_ip = require "rspamd_ip" - local task = rspamd_task:create(rspamd_config, rspamadm_ev_base) + local task = rspamd_task.create(rspamd_config, rspamadm_ev_base) task:set_session(rspamadm_session) task:set_resolver(rspamadm_dns_resolver) @@ -229,4 +229,4 @@ return { aliases = { 'dns', 'dns_tool' }, handler = handler, description = parser._description -} \ No newline at end of file +}