Handle ArgumentError when previous gets args

Dumb patch.
bug/bundler_fix
William Vu 2017-06-27 00:41:26 -05:00
parent 66161b10c5
commit 1637f55c65
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ module Msf
# #
# Command to take to the previously active module # Command to take to the previously active module
# #
def cmd_previous() def cmd_previous(*args)
if @previous_module if @previous_module
self.cmd_use(@previous_module.fullname) self.cmd_use(@previous_module.fullname)
else else