From 1637f55c6570629854142a4f3987a0f9d61f5a19 Mon Sep 17 00:00:00 2001 From: William Vu Date: Tue, 27 Jun 2017 00:41:26 -0500 Subject: [PATCH] Handle ArgumentError when previous gets args Dumb patch. --- lib/msf/ui/console/command_dispatcher/modules.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/ui/console/command_dispatcher/modules.rb b/lib/msf/ui/console/command_dispatcher/modules.rb index 82e95fbaae..3f3a372494 100644 --- a/lib/msf/ui/console/command_dispatcher/modules.rb +++ b/lib/msf/ui/console/command_dispatcher/modules.rb @@ -687,7 +687,7 @@ module Msf # # Command to take to the previously active module # - def cmd_previous() + def cmd_previous(*args) if @previous_module self.cmd_use(@previous_module.fullname) else