aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/commands/outs.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/commands/outs.py b/modules/commands/outs.py
index 067a872b..659774ba 100644
--- a/modules/commands/outs.py
+++ b/modules/commands/outs.py
@@ -44,13 +44,11 @@ class Out(object):
if self._assured:
line.assure()
- valid, truncated = line.truncate(self.server.hostmask())
+ valid, truncated = line.truncate(self.server.hostmask(),
+ margin=STR_MORE_LEN)
if truncated:
- truncated = valid[-STR_MORE_LEN:]+truncated
- new_line = valid[:-STR_MORE_LEN]+STR_MORE
- line = utils.irc.parse_line(new_line)
-
+ line = utils.irc.parse_line(valid+STR_MORE)
self._text = "%s%s" % (STR_CONTINUED, truncated)
else:
self._text = ""