diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-09-28 19:02:18 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-09-28 19:02:18 +0100 |
commit | 2f802214ae0cce3843e988a467c48efc8e7551b1 (patch) | |
tree | b6e1e524ea2b6e662128c6fd42b8f579c66503e3 /lualib | |
parent | 2f3be59570f855bc786a6524f5b08c0761cd4221 (diff) | |
download | rspamd-2f802214ae0cce3843e988a467c48efc8e7551b1.tar.gz rspamd-2f802214ae0cce3843e988a467c48efc8e7551b1.zip |
[Fix] Fix user settings check
Issue: #1835
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/maps.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lualib/maps.lua b/lualib/maps.lua index 58f64d207..c92c690c0 100644 --- a/lualib/maps.lua +++ b/lualib/maps.lua @@ -168,6 +168,8 @@ local function rspamd_maybe_check_map(key, what) if mn and rspamd_maps[mn] then return rspamd_maps[mn]:get_key(key) + else + return what:lower() == key end else return what:lower() == key |