mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
[Bug Fix] Fixes EVENT_DISCONNECT for /quit and /exit. (#1542)
/quit and /exit will now properly parse to EVENT_DISCONNECT so operators can do things on disconnect to these players, previously it only functioned for /camp.
This commit is contained in:
parent
46edd56acc
commit
f715ccd368
@ -183,6 +183,8 @@ bool Client::Process() {
|
||||
|
||||
SetDynamicZoneMemberStatus(DynamicZoneMemberStatus::Offline);
|
||||
|
||||
parse->EventPlayer(EVENT_DISCONNECT, this, "", 0);
|
||||
|
||||
return false; //delete client
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user