From: Vsevolod Stakhov Date: Thu, 28 Sep 2017 18:02:18 +0000 (+0100) Subject: [Fix] Fix user settings check X-Git-Tag: 1.7.0~605 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f802214ae0cce3843e988a467c48efc8e7551b1;p=thirdparty%2Frspamd.git [Fix] Fix user settings check Issue: #1835 --- diff --git a/lualib/maps.lua b/lualib/maps.lua index 58f64d207a..c92c690c09 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