mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
Fix crash when Removing empty password protected channel. (#3298)
This commit is contained in:
parent
844efa7e20
commit
8e51bf8b19
@ -701,11 +701,11 @@ void ChatChannelList::Process() {
|
|||||||
LogDebug("Empty temporary password protected channel [{}] being destroyed",
|
LogDebug("Empty temporary password protected channel [{}] being destroyed",
|
||||||
CurrentChannel->GetName().c_str());
|
CurrentChannel->GetName().c_str());
|
||||||
|
|
||||||
RemoveChannel(CurrentChannel);
|
iterator.RemoveCurrent();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
iterator.Advance();
|
||||||
}
|
}
|
||||||
|
|
||||||
iterator.Advance();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user