mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-01 20:42:17 +00:00
Some changes to ordering of login authorization for world<->zone
This commit is contained in:
1 parent
b754ddbc67
commit
e56edd9231
4 files changed
+30
-12
No files matched your search
+7
-2
@@ -708,11 +708,16 @@ void ZSList::WorldShutDown(uint32 time, uint32 interval)
|
||||
}
|
||||
}
|
||||
|
||||
void ZSList::DropClient(uint32 lsid) {
|
||||
void ZSList::DropClient(uint32 lsid, ZoneServer *ignore_zoneserver) {
|
||||
ServerPacket packet(ServerOP_DropClient, sizeof(ServerZoneDropClient_Struct));
|
||||
auto drop = (ServerZoneDropClient_Struct*)packet.pBuffer;
|
||||
drop->lsid = lsid;
|
||||
SendPacket(&packet);
|
||||
|
||||
for (auto &zs : zone_server_list) {
|
||||
if (zs.get() != ignore_zoneserver) {
|
||||
zs->SendPacket(&packet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ZSList::OnTick(EQ::Timer *t)
|
||||
|
||||
Reference in new issue
Block a user