feat(client): add ClientServices::Disconnect

This commit is contained in:
Tristan Cormier authored and fallenoak committed 2025-10-14 10:46:26 -05:00
1 parent ab346f1b42
commit 88b93b89af
4 files changed
+8 -3

No files matched your search

+2 -2
View File
@@ -115,7 +115,7 @@ void CGlueMgr::ChangeRealm(const REALM_INFO* realmInfo) {
CGlueMgr::m_disconnectPending = 1;
CGlueMgr::m_reconnect = 1;
ClientServices::Connection()->Disconnect();
ClientServices::Disconnect();
return;
}
@@ -623,7 +623,7 @@ void CGlueMgr::PollAccountLogin(int32_t errorCode, const char* msg, int32_t comp
if (errorCode == 2) {
CGlueMgr::m_disconnectPending = 1;
ClientServices::Connection()->Disconnect();
ClientServices::Disconnect();
}
if (errorCode != 13) {