Implement ChanKeep without requiring persistent chanlimits on all networks

This commit is contained in:
2022-08-13 19:20:29 +01:00
parent 75965497be
commit 496a3d0374
4 changed files with 64 additions and 94 deletions

View File

@@ -473,7 +473,7 @@ class IRCBot(IRCClient):
if len(listinfo) == 0: # probably ngircd not supporting LIST >0
return
if main.config["ChanKeep"]["Enabled"]:
chankeep.initialList(self.net, self.num, listinfo, self.chanlimit)
chankeep.initialList(self.net, self.num, listinfo)
def recheckList(self):
allRelays = chankeep.allRelaysActive(self.net)