aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/ip_score.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-17 12:46:02 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-17 12:46:02 +0200
commitfd4d021a48419db5bfffbef56c75be9f84bab185 (patch)
treef08ef6c45f6d3f475c870da5c1b0a45e28df46c4 /src/plugins/lua/ip_score.lua
parentd8e7133b3af3e169e894e436c24286d824b255d0 (diff)
downloadrspamd-fd4d021a48419db5bfffbef56c75be9f84bab185.tar.gz
rspamd-fd4d021a48419db5bfffbef56c75be9f84bab185.zip
[Minor] Use new logging API everywhere
Diffstat (limited to 'src/plugins/lua/ip_score.lua')
-rw-r--r--src/plugins/lua/ip_score.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/ip_score.lua b/src/plugins/lua/ip_score.lua
index 205fc9627..b894cfbe0 100644
--- a/src/plugins/lua/ip_score.lua
+++ b/src/plugins/lua/ip_score.lua
@@ -166,7 +166,7 @@ local ip_score_set = function(task)
redis_args -- arguments
)
if not ret then
- rspamd_logger.err(task, 'error connecting to redis')
+ rspamd_logger.errx(task, 'error connecting to redis')
return
end
@@ -319,7 +319,7 @@ local ip_score_check = function(task)
args -- arguments
)
if not ret then
- rspamd_logger.err(task, 'error connecting to redis')
+ rspamd_logger.errx(task, 'error connecting to redis')
end
end
end