Add error handling to exec command and fix minor bug in cleaning up relays

This commit is contained in:
2019-10-02 21:25:15 +01:00
parent 872d08be3e
commit 89894287b3
3 changed files with 9 additions and 2 deletions

View File

@@ -223,6 +223,8 @@ class IRCBot(IRCClient):
self.setNick(self._attemptedNick)
def irc_ERR_PASSWDMISMATCH(self, prefix, params):
print(locals())
print(globals())
log("%s: password mismatch" % self.name)
sendAll("%s: password mismatch" % self.name)