Fix a raise() call that was printing a warning with Ruby 1.8.6
git-svn-id: file:///home/svn/framework3/trunk@7036 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
e30e850ba7
commit
110e89fd19
|
@ -58,7 +58,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
def load_protocols
|
||||
base = datastore['ProtocolBase']
|
||||
if (not File.directory?(base))
|
||||
raise RuntimeError "The ProtocolBase parameter is set to an invalid directory"
|
||||
raise RuntimeError,"The ProtocolBase parameter is set to an invalid directory"
|
||||
end
|
||||
|
||||
@protos = {}
|
||||
|
|
Loading…
Reference in New Issue