No need to ghost; let's try switching to the nick and only ghost if we get a 433.

This commit is contained in:
Jeremy Fincher 2004-04-16 07:43:52 +00:00
parent 16c4150d1c
commit bf7a893a75

View File

@ -143,7 +143,7 @@ class Services(privmsgs.CapabilityCheckingPrivmsg):
nick = self.registryValue('nick') nick = self.registryValue('nick')
if nick and irc.nick != nick: if nick and irc.nick != nick:
if irc.afterConnect and not self.sentGhost: if irc.afterConnect and not self.sentGhost:
self._doGhost(irc) irc.sendMsg(ircmsgs.nick(nick)) # The 433 is handled elsewhere.
def do001(self, irc, msg): def do001(self, irc, msg):
# New connection, make sure sentGhost is False. # New connection, make sure sentGhost is False.