disable warnings for now, to be reenabled when the module base class is updated

bug/bundler_fix
Brent Cook 2016-03-06 17:19:05 -06:00
parent 659af68b16
commit 5a0bec81cb
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 3 additions and 2 deletions

View File

@ -147,10 +147,11 @@ class Msf::Modules::Loader::Base
if namespace_module.const_defined?('Metasploit3', false)
klass = namespace_module.const_get('Metasploit3', false)
load_warning(module_path, 'Please change the modules class name from Metasploit3 to Metasploit')
# We are not quite yet ready for the warnings to bubble to the user
# load_warning(module_path, 'Please change the modules class name from Metasploit3 to Metasploit')
elsif namespace_module.const_defined?('Metasploit4', false)
klass = namespace_module.const_get('Metasploit4', false)
load_warning(module_path, 'Please change the modules class name from Metasploit4 to Metasploit')
# load_warning(module_path, 'Please change the modules class name from Metasploit4 to Metasploit')
elsif namespace_module.const_defined?('Metasploit', false)
klass = namespace_module.const_get('Metasploit', false)
else