]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix some issues with redis API
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 22 Jun 2016 14:22:48 +0000 (15:22 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 22 Jun 2016 14:22:48 +0000 (15:22 +0100)
src/lua/global_functions.lua

index b68c5d5825968c34adf88fd3f32ff507f1ae65eb..f4f77ce5da50e8206d4fa6032b141957c4aa5bd6 100644 (file)
@@ -105,6 +105,7 @@ function rspamd_redis_make_request(task, redis_params, key, is_write, callback,
   end
 
   local addr
+  local rspamd_redis = require "rspamd_redis"
 
   if key then
     if is_write then