No explicit "return"

bug/bundler_fix
sinn3r 2014-01-26 16:25:30 -06:00
parent f471f50092
commit eec01e79ff
1 changed files with 3 additions and 4 deletions

View File

@ -33,12 +33,11 @@ end
def check
nmod = self.replicant
nmod = replicant
begin
code = nmod.check_host(datastore['RHOST'])
return code
nmod.check_host(datastore['RHOST'])
rescue NoMethodError
return Exploit::CheckCode::Unsupported
Exploit::CheckCode::Unsupported
end
end