Quantcast

Use table.wipe() instead of twipe()

James D. Callahan III [03-06-10 - 21:32]
Use table.wipe() instead of twipe()
Filename
Player.lua
diff --git a/Player.lua b/Player.lua
index 14e3698..d2bf3e2 100644
--- a/Player.lua
+++ b/Player.lua
@@ -24,7 +24,6 @@
 local _G = getfenv(0)

 local table = _G.table
-local twipe = table.wipe

 local pairs = _G.pairs

@@ -178,7 +177,7 @@ do
 	-- Determines if the player can learn a reputation recipe.
 	-- TODO: This is currently only used in addon:OnEnable(), which means that reputation gains are NOT tracked. This function should be used to do so. -Torhal
 	function Player:SetReputationLevels()
-		twipe(rep_list)
+		table.wipe(rep_list)

 		-- Number of factions before we expand
 		local num_factions = GetNumFactions()