From 4b2a36c4243e7e15223aaf467cc746e861a16e36 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Fri, 19 Aug 2016 14:05:16 +0200 Subject: [PATCH] =?UTF-8?q?Fixe=20cache=5Fdata()=20f=C3=BCr=20Hashes=20(Cr?= =?UTF-8?q?ash=20bei=20Bitly)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- otouto/utilities.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/utilities.lua b/otouto/utilities.lua index 0de7f07..62eb0b1 100644 --- a/otouto/utilities.lua +++ b/otouto/utilities.lua @@ -729,7 +729,7 @@ function cache_data(plugin, query, data, timeout, typ, hash_field) redis:sadd(hash, str) end else - redis:hset(hash, hash_field, data) + redis:hmset(hash, data) end if timeout then redis:expire(hash, timeout)