This commit is contained in:
JustArchi
2016-07-31 01:25:18 +02:00
parent d8aad682d5
commit 58453e72ac
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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;
} }