Suppress stuff
This commit is contained in:
parent
8baaf1de60
commit
e0e1431745
@ -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};
|
||||||
|
Loading…
Reference in New Issue
Block a user