Land #3128, Put loot in correct workspace
commit
c4a9b4fda0
|
@ -2098,19 +2098,10 @@ class DBManager
|
||||||
loot.data = data
|
loot.data = data
|
||||||
loot.name = name if name
|
loot.name = name if name
|
||||||
loot.info = info if info
|
loot.info = info if info
|
||||||
|
loot.workspace = wspace
|
||||||
msf_import_timestamps(opts,loot)
|
msf_import_timestamps(opts,loot)
|
||||||
loot.save!
|
loot.save!
|
||||||
|
|
||||||
if !opts[:created_at]
|
|
||||||
=begin
|
|
||||||
if host
|
|
||||||
host.updated_at = host.created_at
|
|
||||||
host.state = HostState::Alive
|
|
||||||
host.save!
|
|
||||||
end
|
|
||||||
=end
|
|
||||||
end
|
|
||||||
|
|
||||||
ret[:loot] = loot
|
ret[:loot] = loot
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue