From e22b38ee8cbf493604466b22b8847e718c2c2e69 Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Tue, 7 Mar 2006 07:07:00 +0000 Subject: [PATCH] one other change git-svn-id: file:///home/svn/incoming/trunk@3555 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/payload_set.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/msf/core/payload_set.rb b/lib/msf/core/payload_set.rb index 984123f511..8b0fb35a96 100644 --- a/lib/msf/core/payload_set.rb +++ b/lib/msf/core/payload_set.rb @@ -70,9 +70,9 @@ class PayloadSet < ModuleSet # of singles, stagers, and stages. # def recalculate - # Reset the current hash associations - self.each_key { |key| - manager.delete(key) + # Reset the current hash associations for all non-symbolic modules + self.each_pair { |key, v| + manager.delete(key) if (v != SymbolicModule) } self.delete_if { |k, v|