diff LibFarmbuyer.lua @ 92:01cfbfa96dd6

Last bits of cleanup and testing.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Tue, 17 Jul 2012 03:24:36 +0000
parents 32eb24fb2ebf
children 3546c7b55986
line wrap: on
line diff
--- a/LibFarmbuyer.lua	Mon Jul 02 23:49:11 2012 +0000
+++ b/LibFarmbuyer.lua	Tue Jul 17 03:24:36 2012 +0000
@@ -55,7 +55,7 @@
   Ditto for table recycling.
 ]]
 
-local MAJOR, MINOR = "LibFarmbuyer", 18
+local MAJOR, MINOR = "LibFarmbuyer", 19
 assert(LibStub,MAJOR.." requires LibStub")
 local lib = LibStub:NewLibrary(MAJOR, MINOR)
 if not lib then return end
@@ -252,6 +252,10 @@
 		_G.SlashCmdList.DUMP("LibF_DEBUG")
 	end
 else
+	-- make sure earlier lib's members aren't lingering
+	lib.author_debug = nil
+	_G.safeprint = nil
+	_G.safeiprint = nil
 	lib.tabledump = lib.nullfunc
 end
 lib.dumptable = lib.tabledump