mirror of
https://github.com/ShaYmez/P25Clients.git
synced 2024-09-28 20:06:33 -04:00
Clean-up silly unlinking message.
This commit is contained in:
parent
80f79122ba
commit
6bb5c177f5
@ -273,10 +273,9 @@ void CP25Gateway::run()
|
|||||||
if (dstId == 9999U || reflector != NULL) {
|
if (dstId == 9999U || reflector != NULL) {
|
||||||
std::string callsign = lookup->find(srcId);
|
std::string callsign = lookup->find(srcId);
|
||||||
|
|
||||||
if (currentId != 9999U)
|
if (currentId != 9999U) {
|
||||||
LogMessage("Unlinked from reflector %u by %s", currentId, callsign.c_str());
|
LogMessage("Unlinked from reflector %u by %s", currentId, callsign.c_str());
|
||||||
|
|
||||||
if (currentId != 9999U) {
|
|
||||||
remoteNetwork.writeUnlink(currentAddr, currentPort);
|
remoteNetwork.writeUnlink(currentAddr, currentPort);
|
||||||
remoteNetwork.writeUnlink(currentAddr, currentPort);
|
remoteNetwork.writeUnlink(currentAddr, currentPort);
|
||||||
remoteNetwork.writeUnlink(currentAddr, currentPort);
|
remoteNetwork.writeUnlink(currentAddr, currentPort);
|
||||||
|
Loading…
Reference in New Issue
Block a user