aboutsummaryrefslogtreecommitdiffstats
path: root/rules/misc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rules/misc.lua')
-rw-r--r--rules/misc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/misc.lua b/rules/misc.lua
index 9ac5c1803..d4186a1b0 100644
--- a/rules/misc.lua
+++ b/rules/misc.lua
@@ -401,6 +401,7 @@ rspamd_config:register_symbol{
}
local check_from_display_name = rspamd_config:register_symbol{
+ type = 'callback',
callback = function (task)
local from = task:get_from(2)
if not (from and from[1] and from[1].name) then return false end