From aeb6411b6c8739cf3bf354fcce47a545c0f2d2bb Mon Sep 17 00:00:00 2001 From: spiral Date: Fri, 2 Sep 2022 08:54:32 +0000 Subject: [PATCH] fix(bot): always connect to redis if a redis address is configured --- PluralKit.Bot/Init.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Init.cs b/PluralKit.Bot/Init.cs index 20156915..fdbf186e 100644 --- a/PluralKit.Bot/Init.cs +++ b/PluralKit.Bot/Init.cs @@ -53,7 +53,7 @@ public class Init // initialize Redis var redis = services.Resolve(); - if (config.UseRedisRatelimiter) + if (coreConfig.RedisAddr != null) await redis.InitAsync(coreConfig); var cache = services.Resolve();