MONITOR actually catches NICK changes (nick_regain.py)

This commit is contained in:
jesopo 2019-02-12 21:01:28 +00:00
parent ef43c9aeef
commit 62d2449958

View file

@ -6,6 +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)
@utils.hook("received.numeric.376")