From c6704bd0ccf2fb1d5968a3b4c4524a6189163dd1 Mon Sep 17 00:00:00 2001 From: Zontreck Date: Tue, 10 Mar 2020 15:58:26 -0700 Subject: [PATCH] fix null reference --- Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Program.cs b/Program.cs index bc2a25e..6990dc1 100644 --- a/Program.cs +++ b/Program.cs @@ -814,6 +814,7 @@ namespace Bot } private static void ReloadGroupsCache() { + GroupsCache = new Dictionary(); client.Groups.CurrentGroups += Groups_CurrentGroups; client.Groups.RequestCurrentGroups(); GroupsEvent.WaitOne(10000, false);