Fix symbol check

This commit is contained in:
andryyy 2017-03-12 17:25:30 +01:00
parent 09850a76e5
commit 9f4a5b1834

View File

@ -33,7 +33,7 @@ rspamd_config:register_post_filter(function(task)
local rcpt = user .. '@' .. domain local rcpt = user .. '@' .. domain
local authdomain = auth_domain_map:get_key(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] local tag = tagged_rcpt[1].options[1]
rspamd_logger.infox("found tag: %s", tag) rspamd_logger.infox("found tag: %s", tag)
local action = task:get_metric_action('default') local action = task:get_metric_action('default')