]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] do not mix %1 and %s 2515/head
authorMikhail Galanin <mgalanin@mimecast.com>
Fri, 21 Sep 2018 12:28:15 +0000 (13:28 +0100)
committerMikhail Galanin <mgalanin@mimecast.com>
Fri, 21 Sep 2018 12:28:15 +0000 (13:28 +0100)
src/plugins/lua/multimap.lua

index cf4ed8cc51c9bfe84b7705a391798e1b579adb62..d358382c2649fb239cd6109888de1f60bf62657f 100644 (file)
@@ -942,7 +942,7 @@ local function add_multimap_rule(key, newrule)
       local selector = lua_selectors.parse_selector(rspamd_config, newrule['selector'])
 
       if not selector then
-        rspamd_logger.errx(rspamd_config, 'selector map has invalid selector: "%1", symbol: %s',
+        rspamd_logger.errx(rspamd_config, 'selector map has invalid selector: "%s", symbol: %s',
             newrule['selector'], newrule['symbol'])
         return nil
       end