From 805f27df31c2bca173d561f2a76c6787a0f422c2 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Mon, 4 Jan 2016 04:59:34 -0500 Subject: [PATCH] Fix broken continue. --- earwigbot/irc/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/irc/frontend.py b/earwigbot/irc/frontend.py index 52a24b5..5f78247 100644 --- a/earwigbot/irc/frontend.py +++ b/earwigbot/irc/frontend.py @@ -88,7 +88,7 @@ class Frontend(IRCConnection): data = Data(self.nick, line, msgtype="NOTICE") if self._auth_wait and data.nick == self.NICK_SERVICES: if data.msg.startswith("This nickname is registered."): - continue + return self._auth_wait = False sleep(2) # Wait for hostname change to propagate self._join_channels()