Implement deduplicating channels

This commit is contained in:
2022-08-16 22:01:35 +01:00
parent 07f1fff125
commit 49b0b9db46
4 changed files with 120 additions and 3 deletions

View File

@@ -628,6 +628,8 @@ class IRCBot(IRCClient):
# End of Twisted hackery
def regPing(self, negativepass=None, reset=True):
if not main.config["AutoReg"]:
return
if self.authenticated:
return
if not regproc.needToAuth(self.net):