fix for platform problem

git-svn-id: file:///home/svn/incoming/trunk@3221 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Miller 2005-12-14 00:37:19 +00:00
parent b8ac1a993e
commit 8d7e729261
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class Msf::Module::Target
opts = {} if (!opts)
self.name = name
self.platform = Msf::Module::PlatformList.from_a(opts['Platform'])
self.platform = opts['Platform'] ? Msf::Module::PlatformList.from_a(opts['Platform']) : nil
self.save_registers = opts['SaveRegisters']
self.ret = opts['Ret']
self.opts = opts