Merge pull request #1788 from meshtastic/bug-1787

fixes #1787
This commit is contained in:
Thomas Göttgens 2022-10-12 13:26:21 +02:00 committed by GitHub
commit 49a9973548
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ void MeshModule::callPlugins(const MeshPacket &mp, RxSource src)
bool rxChannelOk = !pi.boundChannel || (mp.from == 0) ||
!ch ||
strlen(ch->settings.name) > 0 ||
(strcmp(ch->settings.name, pi.boundChannel) == 0);
(strcasecmp(ch->settings.name, pi.boundChannel) == 0);
if (!rxChannelOk) {
// no one should have already replied!