aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/global_functions.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-19 15:17:52 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-05-19 15:17:52 +0100
commitc5f4b41eee597cafc0aafdd828b5750b3fa49928 (patch)
tree7838be2856e6c08dba09554265a11c7788afc5ac /lualib/global_functions.lua
parent6a9f1eab80a7205f545680fb5fd2be763c0c32a5 (diff)
downloadrspamd-c5f4b41eee597cafc0aafdd828b5750b3fa49928.tar.gz
rspamd-c5f4b41eee597cafc0aafdd828b5750b3fa49928.zip
[Minor] Further fixes in global functions
Diffstat (limited to 'lualib/global_functions.lua')
-rw-r--r--lualib/global_functions.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/global_functions.lua b/lualib/global_functions.lua
index d0cab3acd..17c8f11ea 100644
--- a/lualib/global_functions.lua
+++ b/lualib/global_functions.lua
@@ -209,7 +209,7 @@ local function redis_make_request_taskless(ev_base, cfg, redis_params, key, is_w
end
if not addr then
- rspamd_logger.errx(cfg, 'cannot select server to make redis request')
+ logger.errx(cfg, 'cannot select server to make redis request')
end
local options = {
@@ -232,7 +232,7 @@ local function redis_make_request_taskless(ev_base, cfg, redis_params, key, is_w
local ret,conn = rspamd_redis.make_request(options)
if not ret then
- rspamd_logger.errx('cannot execute redis request')
+ logger.errx('cannot execute redis request')
end
return ret,conn,addr
end