Merge pull request #100 from dg0tm/issue-99

This commit is contained in:
Peter Buchegger 2021-07-15 11:35:28 +02:00 committed by GitHub
commit 13a12ba036
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 + "*");