stupid logical mistake

Close #99
This commit is contained in:
Christoph Kottke 2021-07-15 11:21:01 +02:00
parent 68318ea7f0
commit 1b33b0caec

View file

@ -64,7 +64,7 @@ bool RouterTask::loop(System &system) {
String path = digiMsg->getPath(); String path = digiMsg->getPath();
// simple loop check // simple loop check
if (path.indexOf("WIDE1-1") >= 0 || path.indexOf(system.getUserConfig()->callsign) == -1) { if (path.indexOf("WIDE1-1") >= 0 && path.indexOf(system.getUserConfig()->callsign) == -1) {
// fixme // fixme
digiMsg->setPath(system.getUserConfig()->callsign + "*"); digiMsg->setPath(system.getUserConfig()->callsign + "*");