diff options
-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 |