Also use ISON even if MONITOR is supported - to catch NICK changes
(nick_regain.py)
This commit is contained in:
parent
f2a7acfe4d
commit
ef43c9aeef
1 changed files with 1 additions and 2 deletions
|
@ -6,8 +6,7 @@ class Module(ModuleManager.BaseModule):
|
|||
if not server.irc_equals(server.nickname, target_nick):
|
||||
if "MONITOR" in server.isupport:
|
||||
server.send("MONITOR + %s" % target_nick)
|
||||
else:
|
||||
self.timers.add("ison-check", 30, server=server)
|
||||
self.timers.add("ison-check", 30, server=server)
|
||||
|
||||
@utils.hook("received.numeric.376")
|
||||
def end_of_motd(self, event):
|
||||
|
|
Loading…
Reference in a new issue