mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-06 17:44:09 +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:
|
if irc.afterConnect:
|
||||||
nick = self._getNick()
|
nick = self._getNick()
|
||||||
if nick and not ircutils.strEqual(nick, irc.nick):
|
if nick and not ircutils.strEqual(nick, irc.nick):
|
||||||
if nick not in irc.state.nicksToHostmasks:
|
# We used to check this, but nicksToHostmasks is never cleared
|
||||||
# We don't know if it's online, let's ISON it.
|
# except on reconnects, which can cause trouble.
|
||||||
self._ison(irc, nick)
|
# if nick not in irc.state.nicksToHostmasks:
|
||||||
|
self._ison(irc, nick)
|
||||||
callbacks.Privmsg.__call__(self, irc, msg)
|
callbacks.Privmsg.__call__(self, irc, msg)
|
||||||
|
|
||||||
def _ison(self, irc, nick):
|
def _ison(self, irc, nick):
|
||||||
|
Loading…
Reference in New Issue
Block a user