aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/settings.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2015-02-06 16:48:18 +0200
committerAndrew Lewis <nerf@judo.za.org>2015-02-06 16:50:53 +0200
commita46ea28a80f6285bd79ffde2a25c4e29493765ee (patch)
treebea387829dacc790242573e3552547a39ad61a08 /src/plugins/lua/settings.lua
parentb8003fa42f992edc5c5b74b23f2105a046f00b60 (diff)
downloadrspamd-a46ea28a80f6285bd79ffde2a25c4e29493765ee.tar.gz
rspamd-a46ea28a80f6285bd79ffde2a25c4e29493765ee.zip
Amendment: fix regex match for unqualified usernames
Diffstat (limited to 'src/plugins/lua/settings.lua')
-rw-r--r--src/plugins/lua/settings.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua
index eb1cdcb3a..01c266a3f 100644
--- a/src/plugins/lua/settings.lua
+++ b/src/plugins/lua/settings.lua
@@ -141,6 +141,7 @@ local function check_settings(task)
end
if not user[1]["addr"] then
user[1]["user"] = uname
+ user[1]["addr"] = uname
end
end
-- Match rules according their order