Add even more debugging

This commit is contained in:
Mark Veidemanis 2022-08-13 23:18:56 +01:00
parent 3ca5a3452c
commit 2a3c9f80a3
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ def getActiveRelays(net):
for i in enabledRelays: for i in enabledRelays:
name = net + str(i) name = net + str(i)
if name in main.IRCPool.keys(): if name in main.IRCPool.keys():
debug(f"getActiveRelays() {net}: {i} auth:{main.IRCPool[name].authenticated} conn:{main.IRCPool[name].isconnected}")
if main.IRCPool[name].authenticated and main.IRCPool[name].isconnected: if main.IRCPool[name].authenticated and main.IRCPool[name].isconnected:
activeRelays.append(i) activeRelays.append(i)
debug(f"getActiveRelays() {net}: {activeRelays}") debug(f"getActiveRelays() {net}: {activeRelays}")