From 2f802214ae0cce3843e988a467c48efc8e7551b1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 28 Sep 2017 19:02:18 +0100 Subject: [PATCH] [Fix] Fix user settings check Issue: #1835 --- lualib/maps.lua | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5