]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Auth results: Fix nil index
authorAndrew Lewis <nerf@judo.za.org>
Mon, 22 May 2017 12:06:43 +0000 (14:06 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 22 May 2017 12:06:43 +0000 (14:06 +0200)
lualib/auth_results.lua

index 621141b5da8c764b5c6f8bd95d8d9ba0fbf26c7f..f16a8f7624672855f5a0989aaa2fd0982ced6298 100644 (file)
@@ -58,9 +58,9 @@ local function gen_auth_results(task, settings)
   end
 
   local auth_types = {
-    dkim = settings.routines['authentication-results'].dkim_symbols,
-    dmarc = settings.routines['authentication-results'].dmarc_symbols,
-    spf = settings.routines['authentication-results'].spf_symbols,
+    dkim = settings.dkim_symbols,
+    dmarc = settings.dmarc_symbols,
+    spf = settings.spf_symbols,
   }
 
   local common = {
@@ -148,4 +148,4 @@ end
 
 exports.gen_auth_results = gen_auth_results
 
-return exports
\ No newline at end of file
+return exports