]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix aliases removal function
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 30 Jun 2017 20:57:10 +0000 (21:57 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 30 Jun 2017 20:59:47 +0000 (21:59 +0100)
lualib/lua_util.lua

index 8da8d2341dac4bc5a6ba469f668889483083b136..387952fef4c81dd7a2c19de0295f49b9545e493e 100644 (file)
@@ -50,7 +50,7 @@ exports.remove_email_aliases = function(email_addr)
     if cap then
       return cap, rspamd_str_split(pluses, '+'), nil
     elseif no_dots_user ~= addr.user then
-      return no_dots_user
+      return no_dots_user,{},nil
     end
 
     return nil