Skip to content

Commit e981d6e

Browse files
committed
fixes alias_method call
1 parent 2c07f51 commit e981d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/module.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def refname
282282
def category
283283
self.class.category
284284
end
285-
alias_method :category, :catname
285+
alias_method :catname, :category
286286

287287
#
288288
# Returns the module's rank.

0 commit comments

Comments
 (0)