Update system.py

This commit is contained in:
SpudGunMan
2024-07-31 18:07:53 -07:00
parent e2fbdfece6
commit 1832ed7b7b
+2 -2
View File
@@ -364,8 +364,8 @@ async def handleSignalWatcher():
# check we are not spammig the channel limit messages to once per minute
if time.time() - lastHamLibAlert > 60:
lastHamLibAlert = time.time()
# if sigWatchBrodcastCh contains multiple channels, broadcast to all
if sigWatchBrodcastCh.count(',') > 0:
# if sigWatchBrodcastCh list contains multiple channels, broadcast to all
if type(sigWatchBrodcastCh) == list:
for ch in sigWatchBrodcastCh:
if antiSpam and ch != publicChannel:
send_message(msg, int(ch), 0, 1)