summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC/ircasy.py
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-07-15 15:22:03 +0200
committermakefu <github@syntax-fehler.de>2014-07-15 15:22:03 +0200
commitbae95b3f9e926e381fe429a182f232e9a6c0b857 (patch)
tree4a36affc350be40c933272110c2c9ebe94d0cc06 /Reaktor/IRC/ircasy.py
parent058d1fcf51ad6cf7c6b334ac2cac4408b168d0d7 (diff)
parentde8c7b0950103fed60ce15e8474a270e96c688ad (diff)
Merge branch 'master' of ssh://github.com/krebscode/painload
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