no complaints about already being a master

unstable
Tom Early 4 years ago
parent ae217c6a4a
commit cf448cd496

@ -176,7 +176,7 @@ It has nothing to do with the regular YSFReflector network, hence you dont ne
## To-dos ## To-dos
I will eventually support a remote transcoder option, so that you can, for example, run urfd in a data center, and then run the transcoder somewhere you have physical access to it so you can plug in your AMBE vocoders. I don't recommend this as it will add unnessary, and variable, latency to your reflector. I will eventually support a remote transcoder option, so that you can, for example, run urfd in a data center, and then run the transcoder somewhere you have physical access to it so you can plug in your AMBE vocoders. I don't recommend this as it will add unnessary and variable latency to your reflector.
## Copyright ## Copyright

@ -163,14 +163,8 @@ std::shared_ptr<CPacketStream> CReflector::OpenStream(std::unique_ptr<CDvHeaderP
} }
// check if client is valid candidate // check if client is valid candidate
if ( ! m_Clients.IsClient(client) ) if ( ! m_Clients.IsClient(client) || client->IsAMaster() )
{ {
std::cerr << "Client " << client->GetCallsign() << " is not a client!" << std::endl;
return nullptr;
}
if ( client->IsAMaster() )
{
std::cerr << "Client " << client->GetCallsign() << " is already a master!" << std::endl;
return nullptr; return nullptr;
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.