From 1b66df81cd9fa6799f1fd8d2fd92781661d722d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beat=20J=C3=B6rg?= Date: Mon, 25 May 2020 08:36:57 +0200 Subject: [PATCH] [Minor] Fix spamtrap map description String is not correctly interpolated. Shows %s in WebUI. --- src/plugins/lua/spamtrap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/spamtrap.lua b/src/plugins/lua/spamtrap.lua index 4b03b1739..fbe748db2 100644 --- a/src/plugins/lua/spamtrap.lua +++ b/src/plugins/lua/spamtrap.lua @@ -167,7 +167,7 @@ if opts then if settings['map'] then settings['map'] = rspamd_config:add_map{ url = settings['map'], - description = "Spamtrap map for %s", settings['symbol'], + description = string.format("Spamtrap map for %s", settings['symbol']), type = "regexp" } else -- 2.39.5