diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-03-24 13:48:16 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-03-24 13:48:16 +0200 |
commit | f0a919310024f6b16d71687e0a9e866b7d2fac2f (patch) | |
tree | 4234ce6384039d09447ffad0f296d69b7834cde2 /rules/misc.lua | |
parent | ec68fae35b8cb4a4d97b2a5acb056472456db887 (diff) | |
download | rspamd-f0a919310024f6b16d71687e0a9e866b7d2fac2f.tar.gz rspamd-f0a919310024f6b16d71687e0a9e866b7d2fac2f.zip |
[Minor] Really fix tests
Diffstat (limited to 'rules/misc.lua')
-rw-r--r-- | rules/misc.lua | 1 |
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 |