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