Remove superfluous session check in the post mixin

bug/bundler_fix
OJ 2016-10-29 14:19:27 +10:00
parent e5d3feebea
commit 8605992cdf
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597
1 changed files with 0 additions and 4 deletions

View File

@ -29,10 +29,6 @@ module Msf::PostMixin
#
# @raise [OptionValidateError] if {#session} returns nil
def setup
unless session
raise Msf::OptionValidateError.new(["SESSION (not specified)"])
end
unless session_compatible?(session)
raise Msf::OptionValidateError.new(["SESSION (type not valid for this module)"])
end