Suppress stuff

This commit is contained in:
WolverinDEV 2020-02-02 15:08:42 +01:00
parent 8baaf1de60
commit e0e1431745

View File

@ -269,7 +269,7 @@ command_result ConnectedClient::handleCommandGetConnectionInfo(Command &cmd) {
auto info = client->request_connection_info(_this.lock(), send_temp); auto info = client->request_connection_info(_this.lock(), send_temp);
if (info || send_temp) { if (info || send_temp) {
this->notifyConnectionInfo(client.client, info); this->notifyConnectionInfo(client.client, info);
} else } else if(this->getType() != ClientType::CLIENT_TEAMSPEAK)
return command_result{error::no_cached_connection_info}; return command_result{error::no_cached_connection_info};
return command_result{error::ok}; return command_result{error::ok};