From: John Runyon Date: Fri, 4 Aug 2023 15:27:36 +0000 (-0600) Subject: fix attempting to regain original nick when nick was in use upon connect X-Git-Url: https://jfr.im/git/erebus.git/commitdiff_plain/a46d97d3124daafb76e05806dd110d5ec3423811 fix attempting to regain original nick when nick was in use upon connect --- diff --git a/bot.py b/bot.py index e7747d8..b0aec1b 100644 --- a/bot.py +++ b/bot.py @@ -71,6 +71,7 @@ class Bot(object): self.parse("ERROR :Fake-error from watchdog timer.") if self.conn.registered(): self.conn.send("PING :%s" % (time.time())) + self._checknick() watchdogtimer = MyTimer(int(self.parent.cfg.get('watchdog', 'interval', default=30)), self.watchdog) watchdogtimer.start()