Skip to content

Commit 06fbbf7

Browse files
committed
Fully-qualified Msf::NormalRanking in Msf::Module::Ranking
MSP-11126 Needed due to loss of `Msf` lexical scope.
1 parent 4335477 commit 06fbbf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/module/ranking.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module ClassMethods
66
# Returns this module's ranking.
77
#
88
def rank
9-
(const_defined?('Rank')) ? const_get('Rank') : NormalRanking
9+
(const_defined?('Rank')) ? const_get('Rank') : Msf::NormalRanking
1010
end
1111

1212
#

0 commit comments

Comments
 (0)