From 971773fc11ea267472c766d7bc4c6443befe3091 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Tue, 17 Jul 2012 21:18:35 -0400 Subject: [PATCH] Fake-implement _process_message() in IRCConnection. --- earwigbot/irc/connection.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/earwigbot/irc/connection.py b/earwigbot/irc/connection.py index 38c0bdb..7a90524 100644 --- a/earwigbot/irc/connection.py +++ b/earwigbot/irc/connection.py @@ -108,6 +108,10 @@ class IRCConnection(object): if line[0] == "PING": # If we are pinged, pong back self.pong(line[1][1:]) + def _process_message(self, line): + """To be overridden in subclasses.""" + raise NotImplementedError() + @property def host(self): """The hostname of the IRC server, like ``"irc.freenode.net"``."""