]> source.dussan.org Git - rspamd.git/commitdiff
Amendment: fix regex match for unqualified usernames 138/head
authorAndrew Lewis <nerf@judo.za.org>
Fri, 6 Feb 2015 14:48:18 +0000 (16:48 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Fri, 6 Feb 2015 14:50:53 +0000 (16:50 +0200)
src/plugins/lua/settings.lua

index eb1cdcb3a14003d84c7a1d4c5d789250fbb7aaba..01c266a3fc139d1e2a3f0227b878caed636d2c47 100644 (file)
@@ -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