From 400aaf43d035d86849dc5d88b658c46913bad002 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 5 Aug 2018 20:43:52 +0100 Subject: [PATCH] also empty command stdout when there's no !more --- modules/commands.py | 2 ++ 1 file changed, 2 insertions(+) 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