aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_util.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-30 21:57:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-30 21:59:47 +0100
commitc9ed1f7a3f8c31c8407c5f83d2ff9dec4401e031 (patch)
tree4daabd67b28be4e5eed173c296dad4a2a07f2307 /lualib/lua_util.lua
parent9d97d3289494e72db53d9d87e722d29ce3996e31 (diff)
downloadrspamd-c9ed1f7a3f8c31c8407c5f83d2ff9dec4401e031.tar.gz
rspamd-c9ed1f7a3f8c31c8407c5f83d2ff9dec4401e031.zip
[Minor] Fix aliases removal function
Diffstat (limited to 'lualib/lua_util.lua')
-rw-r--r--lualib/lua_util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua
index 8da8d2341..387952fef 100644
--- a/lualib/lua_util.lua
+++ b/lualib/lua_util.lua
@@ -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