mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-06 01:03:52 +00:00
[CLE] Reset iterator in IsAccountInGame() (#1345)
This commit is contained in:
parent
2edda6e743
commit
e18b332414
@ -1244,7 +1244,7 @@ void ClientList::RemoveCLEByLSID(uint32 iLSID)
|
||||
|
||||
bool ClientList::IsAccountInGame(uint32 iLSID) {
|
||||
LinkedListIterator<ClientListEntry*> iterator(clientlist);
|
||||
|
||||
iterator.Reset();
|
||||
while (iterator.MoreElements()) {
|
||||
if (iterator.GetData()->LSID() == iLSID && iterator.GetData()->Online() == CLE_Status::InZone) {
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user