diff --git a/network/RemoteControl.cpp b/network/RemoteControl.cpp index 2ef96871..9a1d56d7 100644 --- a/network/RemoteControl.cpp +++ b/network/RemoteControl.cpp @@ -1306,7 +1306,7 @@ std::string RemoteControl::rcdPermitTG(std::vector args, Host* host std::string RemoteControl::rcdGrantTG(std::vector args, Host* host, dmr::Control* dmr, p25::Control* p25, nxdn::Control* nxdn) { std::string reply = ""; - if (!host->m_authoritative && (host->m_dmrCtrlChannel || host->m_p25CtrlChannel || host->m_nxdnCtrlChannel)) { + if (host->m_authoritative && (host->m_dmrCtrlChannel || host->m_p25CtrlChannel || host->m_nxdnCtrlChannel)) { reply = RCON_CMD_NACK "Host is authoritative, cannot grant TG!"; LogError(LOG_RCON, reply.c_str()); return reply;