]> source.dussan.org Git - rspamd.git/commitdiff
Update replies.lua 704/head
authorAlexey AL <AlexeySa@users.noreply.github.com>
Wed, 6 Jul 2016 15:56:17 +0000 (18:56 +0300)
committerGitHub <noreply@github.com>
Wed, 6 Jul 2016 15:56:17 +0000 (18:56 +0300)
src/plugins/lua/replies.lua

index 4085c08c0bbc2a7706aab1adc60fbc271b8b352d..106a738cbd3efb09379d70a702b0a37b485a0b2b 100644 (file)
@@ -100,7 +100,7 @@ local function replies_set(task)
     true, -- is write
     redis_set_cb, --callback
     'SETEX', -- command
-    {key, tostring(settings['expire']), 1} -- arguments
+    {key, tostring(settings['expire']), "1"} -- arguments
   )
   if not ret then
     rspamd_logger.errx("redis request wasn't scheduled")