From 4142e8575341a9b88cae3e37a25cd4aad8aea1fc Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 18 Dec 2020 19:32:04 +0100 Subject: [PATCH] Fixed the invalid connection status thing --- modules/renderer/connection/ServerConnection.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/renderer/connection/ServerConnection.ts b/modules/renderer/connection/ServerConnection.ts index 6afa2df..0b5968d 100644 --- a/modules/renderer/connection/ServerConnection.ts +++ b/modules/renderer/connection/ServerConnection.ts @@ -116,7 +116,6 @@ class ErrorCommandHandler extends AbstractCommandHandler { return true; } else if(command.command == "initivexpand") { if(command.arguments[0]["teaspeak"] == true) { - console.log("Using TeaSpeak identity type"); this.handle.handshake_handler().startHandshake(); this.serverType = "teaspeak"; } else { @@ -125,7 +124,7 @@ class ErrorCommandHandler extends AbstractCommandHandler { return true; } else if(command.command == "initivexpand2") { /* its TeamSpeak or TeaSpeak with experimental 3.1 and not up2date */ - this.handle["_do_teamspeak"] = true; + this.serverType = "teamspeak"; } else if(command.command == "initserver") { /* just if clientinit error did not fired (TeamSpeak) */ while(this.errorCodeHistory.length > 0) {