Quantcast

Faulty argument

p3lim-52096 [10-10-08 - 17:34]
Faulty argument

git-svn-id: svn://svn.wowinterface.com/oUF_Experience-227/trunk@17 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 8376e81..6dbd9d9 100644
--- a/oUF_Experience/oUF_Experience.lua
+++ b/oUF_Experience/oUF_Experience.lua
@@ -143,7 +143,7 @@ function oUF:UNIT_PET_EXPERIENCE(event, unit)
 end

 function oUF:UNIT_PET(event, unit)
-	if(unit == 'pet') then
+	if(unit == 'player') then
 		self.UNIT_PET_EXPERIENCE(self, event, unit)
 	end
 end