mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-22 20:17:16 +00:00
[Bug Fix] Fix Auto Login Issue (#4213)
* [Bug Fix] Fix Auto Login Issue # Notes - We were setting `live_name` value regardless of if we were zoning, causing us to automatically log in to the last character we'd logged in to before. * Remove &
This commit is contained in:
1 parent
52417023f8
commit
f905ee70e4
3 files changed
+4
-3
No files matched your search
+1
-1
@@ -986,7 +986,7 @@ bool Database::UpdateLiveChar(const std::string& name, uint32 account_id)
|
||||
return AccountRepository::UpdateOne(*this, e);
|
||||
}
|
||||
|
||||
const std::string& Database::GetLiveChar(uint32 account_id)
|
||||
const std::string Database::GetLiveChar(uint32 account_id)
|
||||
{
|
||||
auto e = AccountRepository::FindOne(*this, account_id);
|
||||
|
||||
|
||||
Reference in new issue
Block a user