mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-29 21:54:22 +01:00
Removed a check for something that would make us never send an ISON.
This commit is contained in:
parent
00b7a097cb
commit
7c8f8b4fca
@ -82,9 +82,10 @@ class NickCapture(callbacks.Privmsg):
|
||||
if irc.afterConnect:
|
||||
nick = self._getNick()
|
||||
if nick and not ircutils.strEqual(nick, irc.nick):
|
||||
if nick not in irc.state.nicksToHostmasks:
|
||||
# We don't know if it's online, let's ISON it.
|
||||
self._ison(irc, nick)
|
||||
# We used to check this, but nicksToHostmasks is never cleared
|
||||
# except on reconnects, which can cause trouble.
|
||||
# if nick not in irc.state.nicksToHostmasks:
|
||||
self._ison(irc, nick)
|
||||
callbacks.Privmsg.__call__(self, irc, msg)
|
||||
|
||||
def _ison(self, irc, nick):
|
||||
|
Loading…
Reference in New Issue
Block a user