mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-20 21:14:56 +03:00
feat(client): add ClientServices::Disconnect
This commit is contained in:
1 parent
ab346f1b42
commit
88b93b89af
4 files changed
+8
-3
No files matched your search
@@ -258,7 +258,7 @@ int32_t Script_GetServerName(lua_State* L) {
|
||||
int32_t Script_DisconnectFromServer(lua_State* L) {
|
||||
if (ClientServices::IsConnected()) {
|
||||
CGlueMgr::m_disconnectPending = 1;
|
||||
ClientServices::Connection()->Disconnect();
|
||||
ClientServices::Disconnect();
|
||||
}
|
||||
|
||||
ClientServices::LoginConnection()->Logoff();
|
||||
|
||||
Reference in new issue
Block a user