Update BotClientService.cs

This commit is contained in:
Madpeter 2024-07-03 23:33:14 +01:00
parent f7dd65781f
commit 5b12106301

View file

@ -177,8 +177,11 @@ namespace SecondBotEvents.Services
{
bool isRestart = false;
if (client != null)
{
if (client.Network != null)
{
client.Network.Logout();
}
isRestart = true;
}
client = null;