Quantcast

Fixed element loading

p3lim-52096 [08-04-09 - 22:19]
Fixed element loading

git-svn-id: svn://svn.wowinterface.com/oUF_Experience-227/trunk@39 f81be506-7a38-4956-9b9f-d707db2888a5
Filename
oUF_Experience/oUF_Experience.lua
diff --git a/oUF_Experience/oUF_Experience.lua b/oUF_Experience/oUF_Experience.lua
index 890c701..b4d63dc 100644
--- a/oUF_Experience/oUF_Experience.lua
+++ b/oUF_Experience/oUF_Experience.lua
@@ -132,7 +132,7 @@ end
 local function disable(self, unit)
 	local bar = self.Experience
 	if(bar) then
-		if(unit == 'player')
+		if(unit == 'player') then
 			self:UnregisterEvent('PLAYER_XP_UPDATE', argChecks)
 			self:UnregisterEvent('PLAYER_LEVEL_UP', argChecks)
 			bar:Hide()