mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-10 13:44:22 +00:00
Misc
This commit is contained in:
@@ -515,7 +515,7 @@ namespace ArchiSteamFarm {
|
|||||||
BotDatabase.MobileAuthenticator.Init(this);
|
BotDatabase.MobileAuthenticator.Init(this);
|
||||||
|
|
||||||
if (!BotDatabase.MobileAuthenticator.HasCorrectDeviceID) {
|
if (!BotDatabase.MobileAuthenticator.HasCorrectDeviceID) {
|
||||||
Logging.LogGenericInfo("Your DeviceID is incorrect or doesn't exist", BotName);
|
Logging.LogGenericWarning("Your DeviceID is incorrect or doesn't exist", BotName);
|
||||||
string deviceID = Program.GetUserInput(Program.EUserInputType.DeviceID, BotName);
|
string deviceID = Program.GetUserInput(Program.EUserInputType.DeviceID, BotName);
|
||||||
if (string.IsNullOrEmpty(deviceID)) {
|
if (string.IsNullOrEmpty(deviceID)) {
|
||||||
BotDatabase.MobileAuthenticator = null;
|
BotDatabase.MobileAuthenticator = null;
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ namespace ArchiSteamFarm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!HasCorrectDeviceID) {
|
if (!HasCorrectDeviceID) {
|
||||||
Logging.LogGenericWarning("Can't execute properly due to invalid DeviceID!");
|
Logging.LogGenericWarning("Can't execute properly due to invalid DeviceID!", Bot.BotName);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@ namespace ArchiSteamFarm {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!HasCorrectDeviceID) {
|
if (!HasCorrectDeviceID) {
|
||||||
Logging.LogGenericWarning("Can't execute properly due to invalid DeviceID!");
|
Logging.LogGenericWarning("Can't execute properly due to invalid DeviceID!", Bot.BotName);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -171,7 +171,7 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
internal async Task<HashSet<Confirmation>> GetConfirmations() {
|
internal async Task<HashSet<Confirmation>> GetConfirmations() {
|
||||||
if (!HasCorrectDeviceID) {
|
if (!HasCorrectDeviceID) {
|
||||||
Logging.LogGenericWarning("Can't execute properly due to invalid DeviceID!");
|
Logging.LogGenericWarning("Can't execute properly due to invalid DeviceID!", Bot.BotName);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user