]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix rspamd_redis_make_request syntax in replies plugin 701/head
authorAndrew Lewis <nerf@judo.za.org>
Tue, 5 Jul 2016 18:58:05 +0000 (20:58 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 5 Jul 2016 19:02:02 +0000 (21:02 +0200)
src/plugins/lua/replies.lua

index 93d7cc675f5a1c1d58ba26a24d17505a9124c5eb..b4dd00cb72c30b66e870460b9a60577f22ce20cc 100644 (file)
@@ -69,7 +69,7 @@ local function replies_check(task)
     false, -- is write
     redis_get_cb, --callback
     'GET', -- command
-    key -- arguments
+    {key} -- arguments
   )
 
   if not ret then