diff options
Diffstat (limited to 'src/lua/lua_dns.c')
-rw-r--r-- | src/lua/lua_dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_dns.c b/src/lua/lua_dns.c index a471662e2..df16c75eb 100644 --- a/src/lua/lua_dns.c +++ b/src/lua/lua_dns.c @@ -214,7 +214,7 @@ lua_dns_resolver_init (lua_State *L) cfg = pcfg ? *(pcfg) : NULL; if (base != NULL && cfg != NULL) { - resolver = dns_resolver_init (rspamd_main->logger, base, cfg); + resolver = dns_resolver_init (NULL, base, cfg); if (resolver) { presolver = lua_newuserdata (L, sizeof (gpointer)); rspamd_lua_setclass (L, "rspamd{resolver}", -1); |