Browse Source

Fix: sharded client logout

pull/2179/head
Quin Lynch 3 years ago
parent
commit
9941ad15f7
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      src/Discord.Net.WebSocket/DiscordShardedClient.cs

+ 0
- 1
src/Discord.Net.WebSocket/DiscordShardedClient.cs View File

@@ -178,7 +178,6 @@ namespace Discord.WebSocket
await _shards[i].LogoutAsync(); await _shards[i].LogoutAsync();
} }


CurrentUser = null;
if (_automaticShards) if (_automaticShards)
{ {
_shardIds = new int[0]; _shardIds = new int[0];


Loading…
Cancel
Save