From 8f4b5a0e70804f8f19f8b9032b7d93857cda40e8 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 27 Oct 2019 10:19:00 +0000 Subject: move IRCLine related code from utils.irc to IRCLine.py --- modules/commands/outs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands') diff --git a/modules/commands/outs.py b/modules/commands/outs.py index c81883ab..9098df63 100644 --- a/modules/commands/outs.py +++ b/modules/commands/outs.py @@ -1,5 +1,5 @@ import re -from src import utils +from src import IRCLine, utils STR_MORE = " (more...)" STR_MORE_LEN = len(STR_MORE.encode("utf8")) @@ -57,7 +57,7 @@ class Out(object): if truncated: valid, truncated = self._adjust_to_word_boundaries(valid, truncated) - line = utils.irc.parse_line(valid+STR_MORE) + line = IRCLine.parse_line(valid+STR_MORE) self._text = "%s%s" % (STR_CONTINUED, truncated) else: self._text = "" -- cgit v1.3.1-10-gc9f91