]> jfr.im git - erebus.git/commitdiff
fix attempting to regain original nick when nick was in use upon connect
authorJohn Runyon <redacted>
Fri, 4 Aug 2023 15:27:36 +0000 (09:27 -0600)
committerJohn Runyon <redacted>
Fri, 4 Aug 2023 15:27:36 +0000 (09:27 -0600)
bot.py

diff --git a/bot.py b/bot.py
index e7747d8800e54073ae9330356a4325f69488104e..b0aec1bc6fb17c8bb850d81c4eb0eed537d88fe0 100644 (file)
--- 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()