Extra error handling around emails

This commit is contained in:
2022-07-21 13:39:52 +01:00
parent ef3151f34c
commit 4734a271a1
3 changed files with 27 additions and 7 deletions

View File

@@ -658,6 +658,9 @@ class IRCBot(IRCClient):
if self.authenticated:
return
sinst = regproc.substitute(self.net, self.num)
if not sinst:
error(f"Registration ping failed for {self.net} - {self.num}")
return
if not self._negativePass == True:
if negativepass == False:
self._negativePass = False