diff options
| author | 2018-08-05 20:43:52 +0100 | |
|---|---|---|
| committer | 2018-08-05 20:43:52 +0100 | |
| commit | 400aaf43d035d86849dc5d88b658c46913bad002 (patch) | |
| tree | 8a65c2645c4e8eaee1984f466ac9d8f86434f5a5 /modules/commands.py | |
| parent | Grammar is important (diff) | |
| signature | ||
also empty command stdout when there's no !more
Diffstat (limited to 'modules/commands.py')
| -rw-r--r-- | modules/commands.py | 2 |
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 |
