[FixRM 8489] undefined method `empty?' for nil:NilClass in msfcli

This fixes a undefined method `empty?' for nil:NilClass (NoMethodError)
in msfcli. [SeeRM 8489]
bug/bundler_fix
sinn3r 2013-10-14 13:13:56 -05:00
parent e10dbf8a5d
commit 5514736deb
1 changed files with 1 additions and 0 deletions

1
msfcli
View File

@ -206,6 +206,7 @@ class Msfcli
@args[:params].each { |args|
var, val = args.split('=', 2)
next if val.nil?
case var.downcase
when 'payload'