MONITOR actually catches NICK changes (nick_regain.py)
This commit is contained in:
parent
ef43c9aeef
commit
62d2449958
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if not server.irc_equals(server.nickname, target_nick):
|
if not server.irc_equals(server.nickname, target_nick):
|
||||||
if "MONITOR" in server.isupport:
|
if "MONITOR" in server.isupport:
|
||||||
server.send("MONITOR + %s" % target_nick)
|
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")
|
@utils.hook("received.numeric.376")
|
||||||
|
|
Loading…
Reference in a new issue