aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-25 07:11:45 +0000
committerGravatar jesopo2019-01-25 07:11:45 +0000
commit335f1545a87ec59b85c8188b70950a1b303d6fc7 (patch)
tree58f803840f75a60fba574ae92595ecfa1d328e66
parentI totally forgot that we don't need flask. at all. (diff)
signature
Give `StdOut.send` the new `method` param (commands.py)
-rw-r--r--modules/commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/commands.py b/modules/commands.py
index ce835ff0..dcd5abcc 100644
--- a/modules/commands.py
+++ b/modules/commands.py
@@ -325,7 +325,8 @@ class Module(ModuleManager.BaseModule):
:help: Show more output from the last command
"""
if event["target"].last_stdout and event["target"].last_stdout.has_text():
- event["target"].last_stdout.send()
+ event["target"].last_stdout.send(
+ self._command_method(event["target"], event["server"]))
@utils.hook("received.command.ignore", min_args=1)
def ignore(self, event):