From 1b33b0caecba16b424c8d616e00e24f3bfc95fbe Mon Sep 17 00:00:00 2001 From: Christoph Kottke Date: Thu, 15 Jul 2021 11:21:01 +0200 Subject: [PATCH] stupid logical mistake Close #99 --- src/TaskRouter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TaskRouter.cpp b/src/TaskRouter.cpp index 210ed7e..ec8f485 100644 --- a/src/TaskRouter.cpp +++ b/src/TaskRouter.cpp @@ -64,7 +64,7 @@ bool RouterTask::loop(System &system) { String path = digiMsg->getPath(); // 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 digiMsg->setPath(system.getUserConfig()->callsign + "*");