Correct an extra parenthesis

This commit is contained in:
HD Moore 2012-10-08 17:20:25 -05:00
parent 8cdb76d269
commit eb0f0fee0c
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ class Msf::Modules::Loader::Base
extension = File.extname(path)
unless (path[0,1] == ".") or
unless (path[0,1] == "." or
extension != MODULE_EXTENSION or
path =~ UNIT_TEST_REGEX)
module_path = true