]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Understand both 'statistic' and 'statistics'
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 13 Mar 2018 16:36:18 +0000 (16:36 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 13 Mar 2018 16:36:18 +0000 (16:36 +0000)
lualib/rspamadm/configwizard.lua

index 25e665aa01a4cf57ccf3cd064aa803e4dbaa5cef..65e289d474f377158e8688336bdc35470b37c8b5 100644 (file)
@@ -622,7 +622,7 @@ return function(args, cfg)
       end
     end
 
-    if has_check('statistic') then
+    if has_check('statistic') or has_check('statistics') then
       setup_statistic(cfg, changes)
     end