Rename counts to count

unstable
sinn3r 2012-06-28 11:43:33 -05:00
parent 5092152949
commit 0e55141fd9
1 changed files with 4 additions and 4 deletions

View File

@ -498,17 +498,17 @@ class ModuleManager < ModuleSet
init_module_set(type)
end
# The counts loaded modules in the following categories:
# The number of loaded modules in the following categories:
# auxiliary/encoder/exploit/nop/payload/post
counts = 0
count = 0
module_paths.each do |path|
mods = load_modules(path, true)
mods.each_value {|c| counts += c}
mods.each_value {|c| count += c}
end
rebuild_cache
counts
count
end
#