From 9f4a5b183450dc6bd04eb776c4f71145b91dc505 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 12 Mar 2017 17:25:30 +0100 Subject: [PATCH] Fix symbol check --- data/conf/rspamd/lua/rspamd.local.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/conf/rspamd/lua/rspamd.local.lua b/data/conf/rspamd/lua/rspamd.local.lua index 6f738f92..236734f2 100644 --- a/data/conf/rspamd/lua/rspamd.local.lua +++ b/data/conf/rspamd/lua/rspamd.local.lua @@ -33,7 +33,7 @@ rspamd_config:register_post_filter(function(task) local rcpt = user .. '@' .. domain local authdomain = auth_domain_map:get_key(domain) - if tagged_rcpt[1].options[1] then + if tagged_rcpt then local tag = tagged_rcpt[1].options[1] rspamd_logger.infox("found tag: %s", tag) local action = task:get_metric_action('default')