also empty command stdout when there's no !more

This commit is contained in:
jesopo 2018-08-05 20:43:52 +01:00
parent b128eb170b
commit 400aaf43d0

View file

@ -27,6 +27,8 @@ class Out(object):
).rstrip(), STR_MORE)
self._text = "%s%s" % (STR_CONTINUED, text_encoded[OUT_CUTOFF:
].decode("utf8").lstrip())
else:
self._text = ""
self.target.send_message(text, prefix="[%s] " % self.prefix())
def set_prefix(self, prefix):
self.module_name = prefix