]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix URL filters
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 14 Aug 2016 21:33:44 +0000 (22:33 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 14 Aug 2016 21:34:07 +0000 (22:34 +0100)
src/plugins/lua/multimap.lua

index 1d6657f0ae40cdc52fff08a3ea6fb3b3938970d7..5976a7c5a12c0d92d0cd43a03f83c8ba3bd95801 100644 (file)
@@ -365,7 +365,7 @@ local function multimap_callback(task, rule)
       end
     end
 
-    if r['filter'] then
+    if r['filter'] or r['type'] == 'url' then
       local fn = multimap_filters[r['type']]
 
       if fn then