]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] ip_score.lua: fix variable value type 2016/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Tue, 13 Feb 2018 18:06:59 +0000 (18:06 +0000)
committerGitHub <noreply@github.com>
Tue, 13 Feb 2018 18:06:59 +0000 (18:06 +0000)
src/plugins/lua/ip_score.lua

index 118d7d81125dcfd6f1883e8a0834adc28db2916f..7a547755673e0076e2e9ace1597c64baf1da9b68 100644 (file)
@@ -389,7 +389,7 @@ if redis_params then
     name = options['symbol'],
     callback = ip_score_check,
     group = 'reputation',
-    score = '2.0'
+    score = 2.0
   })
 else
   rspamd_lua_utils.disable_module(N, "redis")