reworked the voice client connection part 1
This commit is contained in:
@@ -272,7 +272,9 @@ command_result ConnectedClient::handleCommand(Command &cmd) {
|
||||
|
||||
else if (command == "listfeaturesupport") return this->handleCommandListFeatureSupport(cmd);
|
||||
|
||||
if (this->getType() == ClientType::CLIENT_QUERY) return command_result{error::command_not_found}; //Dont log query invalid commands
|
||||
if (this->getType() == ClientType::CLIENT_QUERY)
|
||||
return command_result{error::command_not_found}; //Dont log query invalid commands
|
||||
|
||||
if (this->getType() == ClientType::CLIENT_TEAMSPEAK)
|
||||
if (command.empty() || command.find_first_not_of(' ') == -1) {
|
||||
if (!permission::v2::permission_granted(1, this->calculate_permission(permission::b_client_allow_invalid_packet, this->getChannelId())))
|
||||
|
||||
Reference in New Issue
Block a user