Not needed
This commit is contained in:
Archi 2023-04-20 21:32:52 +02:00
parent 869904e938
commit 19ffc1d5d1
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA

View file

@ -247,10 +247,6 @@ internal static class Commands {
return bot.Commands.FormatBotResponse(string.Format(CultureInfo.CurrentCulture, Strings.WarningFailedWithError, nameof(bot.HasMobileAuthenticator)));
}
if (!bot.IsConnectedAndLoggedOn) {
return bot.Commands.FormatBotResponse(Strings.BotNotConnected);
}
string maFilePath = bot.GetFilePath(Bot.EFileType.MobileAuthenticator);
string maFilePendingPath = $"{maFilePath}.PENDING";