also empty command stdout when there's no !more
This commit is contained in:
parent
b128eb170b
commit
400aaf43d0
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ class Out(object):
|
||||||
).rstrip(), STR_MORE)
|
).rstrip(), STR_MORE)
|
||||||
self._text = "%s%s" % (STR_CONTINUED, text_encoded[OUT_CUTOFF:
|
self._text = "%s%s" % (STR_CONTINUED, text_encoded[OUT_CUTOFF:
|
||||||
].decode("utf8").lstrip())
|
].decode("utf8").lstrip())
|
||||||
|
else:
|
||||||
|
self._text = ""
|
||||||
self.target.send_message(text, prefix="[%s] " % self.prefix())
|
self.target.send_message(text, prefix="[%s] " % self.prefix())
|
||||||
def set_prefix(self, prefix):
|
def set_prefix(self, prefix):
|
||||||
self.module_name = prefix
|
self.module_name = prefix
|
||||||
|
|
Loading…
Reference in a new issue