summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC/ircasy.py
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2014-07-15 12:12:28 +0200
committertv <tv@shackspace.de>2014-07-15 12:12:28 +0200
commite2b4d5270b996322583038e3e1037b4e5c339bb9 (patch)
treeae0cb08bbbc887aa834ce117f3728cabe6d54db6 /Reaktor/IRC/ircasy.py
parent72ba736b99ea62499322f310f3ecfbd6c0cca344 (diff)
Reaktor on_ping -> nag
Diffstat (limited to 'Reaktor/IRC/ircasy.py')
-rw-r--r--Reaktor/IRC/ircasy.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Reaktor/IRC/ircasy.py b/Reaktor/IRC/ircasy.py
index 99fbc324..38f202fc 100644
--- a/Reaktor/IRC/ircasy.py
+++ b/Reaktor/IRC/ircasy.py
@@ -110,6 +110,7 @@ class asybot(asychat):
if command == 'PING':
self.push('PONG :%s' % rest)
self.log.debug("Replying to servers PING with PONG :%s" %rest)
+ self.on_ping(prefix, command, params, rest)
elif command == 'PRIVMSG':
self.on_privmsg(prefix, command, params, rest)
@@ -185,6 +186,9 @@ class asybot(asychat):
def on_join(self, prefix, command, params, rest):
pass
+ def on_ping(self, prefix, command, params, rest):
+ pass
+
def on_privmsg(self, prefix, command, params, rest):
pass