From 0f626437e0816d15602051f9b2252095bfcdabaf Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 15 Jul 2014 12:12:28 +0200 Subject: Reaktor on_ping -> nag --- IRC/ircasy.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'IRC/ircasy.py') diff --git a/IRC/ircasy.py b/IRC/ircasy.py index 99fbc32..38f202f 100644 --- a/IRC/ircasy.py +++ b/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 -- cgit v1.2.3