mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Bug Fix] Fix Issue With Auto Login (#4267)
This commit is contained in:
+1
-1
@@ -205,7 +205,7 @@ void Client::SendEnterWorld(std::string name)
|
||||
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());
|
||||
LogInfo("Attempting to auto login with live_name [{}] account_id [{}]", live_name, GetAccountID());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user