aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-05 20:43:52 +0100
committerGravatar jesopo2018-08-05 20:43:52 +0100
commit400aaf43d035d86849dc5d88b658c46913bad002 (patch)
tree8a65c2645c4e8eaee1984f466ac9d8f86434f5a5
parentGrammar is important (diff)
signature
also empty command stdout when there's no !more
-rw-r--r--modules/commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands.py b/modules/commands.py
index b6bdddcc..610a0bfd 100644
--- a/modules/commands.py
+++ b/modules/commands.py
@@ -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