Give warning on module load

unstable
Meatballs 2014-06-06 23:04:40 +01:00
parent 58ee2ccd6e
commit 5218ca4d89
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,11 @@ module Msf::Module::Deprecated
print_warning("*"*72) print_warning("*"*72)
end end
def init_ui(input = nil, output = nil)
super(input, output)
print_deprecation_warning
end
def generate def generate
print_deprecation_warning print_deprecation_warning
super super