Add even more debugging

Mark Veidemanis 2 years ago
parent 604bee1b78
commit b5326e92a1

@ -468,6 +468,8 @@ class IRCBot(IRCClient):
if first_relay.wantList is True:
first_relay.list(nocheck=True)
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"
# if self.num == 1: # Only one instance should do a list
@ -477,8 +479,8 @@ class IRCBot(IRCClient):
if allRelays:
self.list()
debug(f"recheckList() requested a list for {self.net} from {self.num}")
else:
debug(f"recheckList() not all relays active for {self.net}")
self.wantList = True
else:
debug("recheckList() aborting LIST due to bad chanlimit")

Loading…
Cancel
Save