Skip to content

Commit 3d8416a

Browse files
chore: cleaning up warnings in code
oops
1 parent 23ba9fc commit 3d8416a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Nullinside.Api.Common/Twitch/TwitchClientProxy.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ public class TwitchClientProxy : ITwitchClientProxy {
6161
/// <summary>
6262
/// The callback(s) to invoke when a channel is raided.
6363
/// </summary>
64-
private Dictionary<string, Action<OnRaidNotificationArgs>?> onRaid;
64+
private Dictionary<string, Action<OnRaidNotificationArgs>?> onRaid = new();
6565

6666
/// <summary>
6767
/// The callback(s) to invoke when a channel receives a ban message.
6868
/// </summary>
69-
private Dictionary<string, Action<OnUserBannedArgs>?> onUserBanReceived;
69+
private Dictionary<string, Action<OnUserBannedArgs>?> onUserBanReceived = new();
7070

7171
/// <summary>
7272
/// The web socket to connect to twitch chat with.

0 commit comments

Comments
 (0)