mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 03:11:28 +00:00
[Bug Fix] Fix Issue With Auto Login (#4267)
This commit is contained in:
parent
c3295d129d
commit
7b44745c67
@ -205,7 +205,7 @@ void Client::SendEnterWorld(std::string name)
|
|||||||
LogInfo("Zoning with live_name [{}] account_id [{}]", live_name, GetAccountID());
|
LogInfo("Zoning with live_name [{}] account_id [{}]", live_name, GetAccountID());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (RuleB(World, EnableAutoLogin)) {
|
if (!is_player_zoning && RuleB(World, EnableAutoLogin)) {
|
||||||
live_name = AccountRepository::GetAutoLoginCharacterNameByAccountID(database, GetAccountID());
|
live_name = AccountRepository::GetAutoLoginCharacterNameByAccountID(database, GetAccountID());
|
||||||
LogInfo("Attempting to auto login with live_name [{}] account_id [{}]", live_name, GetAccountID());
|
LogInfo("Attempting to auto login with live_name [{}] account_id [{}]", live_name, GetAccountID());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user