]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Really fix tests
authorAndrew Lewis <nerf@judo.za.org>
Fri, 24 Mar 2017 11:48:16 +0000 (13:48 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Fri, 24 Mar 2017 11:48:16 +0000 (13:48 +0200)
rules/misc.lua

index 9ac5c1803fe897b00fea5169ef0c32af09eb113b..d4186a1b078680b95bcdc735adfb167672b145d0 100644 (file)
@@ -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