aboutsummaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-10 11:21:41 +0100
committerGravatar jesopo2019-06-10 11:21:59 +0100
commit53907b57d7bb957e1d80e877fdb49550b87f5ae0 (patch)
treedb3ffb1cf6b75e4ac9d3d52a536481271bcdddf4 /modules/commands
parentUpdate CHANGELOG.md (diff)
signature
command-out truncation logic should be referencing `sent_line`
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/outs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/outs.py b/modules/commands/outs.py
index 7ed49cd6..92500f67 100644
--- a/modules/commands/outs.py
+++ b/modules/commands/outs.py
@@ -45,9 +45,9 @@ class Out(object):
sent_line = self.server.send(line)
if sent_line:
- line.truncate_marker = STR_MORE
- if line.truncated():
- self._text = "%s%s" % (STR_CONTINUED, line.truncated())
+ sent_line.truncate_marker = STR_MORE
+ if sent_line.truncated():
+ self._text = "%s%s" % (STR_CONTINUED, sent_line.truncated())
else:
self._text = ""