diff Core.lua @ 31:f99b9602bdab

Removed code introduced last night that can cause ItemAuditor to crash.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Fri, 16 Jul 2010 06:52:08 -0700
parents 34daa46b644a
children aaa716c93fb2
line wrap: on
line diff
--- a/Core.lua	Fri Jul 16 01:36:50 2010 -0700
+++ b/Core.lua	Fri Jul 16 06:52:08 2010 -0700
@@ -232,12 +232,6 @@
 		
 	end
 	
-	if self.items[link] ~= nil then
-		if self.items[link].invested  == nil or self.items[link].invested <= 0 then
-			self.items[link] = nil
-		end
-	end
-	
 	if viewOnly == true and self.items[link] == nil then
 		return {count = 0, invested = 0}
 	elseif viewOnly == true then