From ec038b53d337f5343878b7876455d6cf640537a5 Mon Sep 17 00:00:00 2001 From: Madpeter <57852827+Madpeterz@users.noreply.github.com> Date: Tue, 22 Oct 2024 00:04:31 +0100 Subject: [PATCH] Update BotClientService.cs --- SecondBotEvents/Services/BotClientService.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/SecondBotEvents/Services/BotClientService.cs b/SecondBotEvents/Services/BotClientService.cs index ee4ec9c..c127029 100644 --- a/SecondBotEvents/Services/BotClientService.cs +++ b/SecondBotEvents/Services/BotClientService.cs @@ -111,10 +111,6 @@ namespace SecondBotEvents.Services return; } LogFormater.Info("Client service ~ Login status: " + e.Status.ToString()); - if (e.Status == LoginStatus.Success) - { - master.TriggerBotClientEvent(false, false); - } } public void SendIM(UUID avatar, string message) { @@ -198,6 +194,7 @@ namespace SecondBotEvents.Services { ResetClient(); goodticks = 0; + master.TriggerBotClientEvent(false, false); LoginParams loginParams = new LoginParams( client, basicCfg.GetFirstName(),