diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-11 15:06:01 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-11 15:06:01 +0100 |
commit | 5080c1565010de3a198507bc35dadd0cc3aad210 (patch) | |
tree | 1b55b8130b782627e1a377dfe70bd5f03376a0e6 /src/rspamadm/rspamadm.c | |
parent | 6943c3c3a4dd1334aa041fcd7df9598ecec3f152 (diff) | |
download | rspamd-5080c1565010de3a198507bc35dadd0cc3aad210.tar.gz rspamd-5080c1565010de3a198507bc35dadd0cc3aad210.zip |
[Minor] Allow to set a resolver for task
Diffstat (limited to 'src/rspamadm/rspamadm.c')
-rw-r--r-- | src/rspamadm/rspamadm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c index 650ae5834..f3760ce3e 100644 --- a/src/rspamadm/rspamadm.c +++ b/src/rspamadm/rspamadm.c @@ -348,7 +348,7 @@ rspamadm_add_lua_globals (struct rspamd_dns_resolver *resolver) presolver = lua_newuserdata (L, sizeof (struct rspamd_dns_resolver *)); rspamd_lua_setclass (L, "rspamd{resolver}", -1); *presolver = resolver; - lua_setglobal (L, "rspamadm_resolver"); + lua_setglobal (L, "rspamadm_dns_resolver"); } gint |