send() is only for parsed irc lines
This commit is contained in:
parent
3e9d628d64
commit
bc68b50874
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
target_nick = server.connection_params.nickname
|
target_nick = server.connection_params.nickname
|
||||||
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_raw("MONITOR + %s" % target_nick)
|
||||||
else:
|
else:
|
||||||
self.timers.add("ison-check", 30, server=server)
|
self.timers.add("ison-check", 30, server=server)
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
target_nick = event["server"].connection_params.nickname
|
target_nick = event["server"].connection_params.nickname
|
||||||
if event["server"].irc_equals(event["new_nickname"], target_nick):
|
if event["server"].irc_equals(event["new_nickname"], target_nick):
|
||||||
if "MONITOR" in event["server"].isupport:
|
if "MONITOR" in event["server"].isupport:
|
||||||
event["server"].send("MONITOR - %s " % target_nick)
|
event["server"].send_raw("MONITOR - %s " % target_nick)
|
||||||
|
|
||||||
@utils.hook("received.731")
|
@utils.hook("received.731")
|
||||||
def mon_offline(self, event):
|
def mon_offline(self, event):
|
||||||
|
@ -36,7 +36,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
target_nick = event["server"].connection_params.nickname
|
target_nick = event["server"].connection_params.nickname
|
||||||
if not event["server"].irc_equals(
|
if not event["server"].irc_equals(
|
||||||
event["server"].nickname, target_nick):
|
event["server"].nickname, target_nick):
|
||||||
event["server"].send("ISON %s" % target_nick)
|
event["server"].send_raw("ISON %s" % target_nick)
|
||||||
event["timer"].redo()
|
event["timer"].redo()
|
||||||
|
|
||||||
@utils.hook("received.303")
|
@utils.hook("received.303")
|
||||||
|
|
Loading…
Reference in a new issue