From 13532355e3509cc4fc39a66b1213b28078eb82cb Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Mon, 21 Sep 2009 01:34:43 +0200 Subject: [PATCH] Fix syntax error --- tags.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tags.lua b/tags.lua index 0e0feba..cc75556 100644 --- a/tags.lua +++ b/tags.lua @@ -36,7 +36,7 @@ end oUF.TagEvents['[pthreat]'] = 'UNIT_THREAT_LIST_UPDATE' oUF.Tags['[pthreat]'] = function() local _, _, perc = UnitDetailedThreatSituation('player', 'target') - return perc and perc > 0 ('%s%d%%|r'):format(hex(GetThreatStatusColor(UnitThreatSituation('player', 'target'))), perc) + return perc and perc > 0 and ('%s%d%%|r'):format(hex(GetThreatStatusColor(UnitThreatSituation('player', 'target'))), perc) end oUF.Tags['[phealth]'] = function(unit) -- 1.7.9.5