Quantcast

API change

Adrian L Lange [08-27-12 - 15:19]
API change
Filename
tags.lua
diff --git a/tags.lua b/tags.lua
index 7daa301..c0b0adc 100644
--- a/tags.lua
+++ b/tags.lua
@@ -113,7 +113,7 @@ end

 tags.Events['p3lim:leader'] = 'PARTY_LEADER_CHANGED'
 tags.Methods['p3lim:leader'] = function(unit)
-	if(UnitIsPartyLeader(unit)) then
+	if(UnitIsGroupLeader(unit)) then
 		return '|cffffff00!|r'
 	end
 end