Emergency fix: Corrected API fire error, with non inherited class calling super.

This commit is contained in:
Ben Passmore
2011-12-04 10:09:32 +10:00
parent b306abeb8f
commit 434779055c

View File

@@ -28,7 +28,8 @@ module Handlers
# Constructor
#
def initialize(klass)
super
# @todo Determine why this class is calling super?
#super
@klass = BeEF::Extension::AdminUI::Controllers.const_get(klass.to_s.capitalize)
end
@@ -57,4 +58,4 @@ module Handlers
end
end
end
end
end