Fixed the invalid connection status thing

This commit is contained in:
WolverinDEV 2020-12-18 19:32:04 +01:00
parent df0ddbfa60
commit 4142e85753

View File

@ -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) {