From 726f184227366e6add572279a3b1670b40a65ba6 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 9 Aug 2012 01:52:42 -0400 Subject: [PATCH] Forgot 'self' --- earwigbot/irc/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earwigbot/irc/connection.py b/earwigbot/irc/connection.py index eef4185..da38e3f 100644 --- a/earwigbot/irc/connection.py +++ b/earwigbot/irc/connection.py @@ -95,7 +95,7 @@ class IRCConnection(object): if not hidelog: self.logger.debug(msg) - def _split(msgs, maxlen, maxsplits=3): + def _split(self, msgs, maxlen, maxsplits=3): """Split a large message into multiple messages smaller than maxlen.""" words = msgs.split(" ") splits = 0