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)