Add even more debugging

This commit is contained in:
Mark Veidemanis 2022-08-11 20:21:39 +01:00
parent 11c226833d
commit 14eb05722c
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 3 additions and 1 deletions

View File

@ -468,6 +468,8 @@ class IRCBot(IRCClient):
if first_relay.wantList is True: if first_relay.wantList is True:
first_relay.list(nocheck=True) first_relay.list(nocheck=True)
debug("recheckList() asking for a list for {self.net} after final relay {self.num} connected") debug("recheckList() asking for a list for {self.net} after final relay {self.num} connected")
else:
debug(f"recheckList() first relay wantList is False for {self.net} ({first_relay.num})")
# name = self.net + "1" # name = self.net + "1"
# if self.num == 1: # Only one instance should do a list # if self.num == 1: # Only one instance should do a list
@ -477,8 +479,8 @@ class IRCBot(IRCClient):
if allRelays: if allRelays:
self.list() self.list()
debug(f"recheckList() requested a list for {self.net} from {self.num}") debug(f"recheckList() requested a list for {self.net} from {self.num}")
else: else:
debug(f"recheckList() not all relays active for {self.net}")
self.wantList = True self.wantList = True
else: else:
debug("recheckList() aborting LIST due to bad chanlimit") debug("recheckList() aborting LIST due to bad chanlimit")