From 37da4be3e4cffdc2ce186cf47a1e75da5faa6a25 Mon Sep 17 00:00:00 2001 From: James Lee Date: Thu, 1 Jul 2010 21:57:24 +0000 Subject: [PATCH] do a deep copy of the datastore when replicating a module git-svn-id: file:///home/svn/framework3/trunk@9651 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/module.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/module.rb b/lib/msf/core/module.rb index 14fb40ad17..41c5cc2d29 100644 --- a/lib/msf/core/module.rb +++ b/lib/msf/core/module.rb @@ -152,7 +152,7 @@ class Module # def replicant obj = self.class.new - obj.datastore = self.datastore.dup + obj.datastore = self.datastore.copy obj.user_input = self.user_input obj.user_output = self.user_output obj.module_store = self.module_store