From e3081ff87309b07ad87ea554d32029c1877fba8b Mon Sep 17 00:00:00 2001 From: Madpeter Date: Mon, 11 May 2020 13:11:21 +0100 Subject: [PATCH] Removes the dup'd if statement and adjusts the text --- Core/bottypes/EventsBot.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Core/bottypes/EventsBot.cs b/Core/bottypes/EventsBot.cs index 5dd0053..de87dcd 100644 --- a/Core/bottypes/EventsBot.cs +++ b/Core/bottypes/EventsBot.cs @@ -177,17 +177,13 @@ namespace BSB.bottypes } else if(e.Status == LoginStatus.Failed) { - login_status = "Logged out"; + login_status = "Login failed"; login_auto_logout = true; if (e.FailReason == "presence") { - login_status = "Logged out "; + login_status = "Login failed "; } } - else if(e.Status == LoginStatus.Failed) - { - login_status = "Failed (Check username and password)"; - } else if(e.Status == LoginStatus.None) { login_status = "None :/";