improved stuff
This commit is contained in:
parent
c9e257270f
commit
1ac7c112d4
@ -766,7 +766,11 @@ void ConnectedClient::sendServerInit() {
|
|||||||
command["pv"] = 6; //Protocol version
|
command["pv"] = 6; //Protocol version
|
||||||
command["acn"] = this->getDisplayName();
|
command["acn"] = this->getDisplayName();
|
||||||
command["aclid"] = this->getClientId();
|
command["aclid"] = this->getClientId();
|
||||||
this->sendCommand(command);
|
if(dynamic_cast<VoiceClient*>(this)) {
|
||||||
|
dynamic_cast<VoiceClient*>(this)->sendCommand0(command, false, true); /* process it directly so the order for the channellist entries is ensured. (First serverinit then everything else) */
|
||||||
|
} else {
|
||||||
|
this->sendCommand(command);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ConnectedClient::handleCommandFull(Command& cmd, bool disconnectOnFail) {
|
bool ConnectedClient::handleCommandFull(Command& cmd, bool disconnectOnFail) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user