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()