<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -255,7 +255,7 @@ function ControlFreak:OnUpdate(elapsed)
 	if unit then
 		if not isvalid[unit] then color, note, tiptext = &quot;grey&quot;, &quot;Invalid&quot;
 		else
-			if mydebuffs[1] and IsSpellInRange(mydebuffs[1], unit) == 0 then range = &quot;*&quot; end
+			for debuff in pairs(mydebuffs) do if IsSpellInRange(debuff, unit) == 0 then range = &quot;*&quot; end end
 			if controlled[unit] then
 				local _, _, _, _, _, _, timeLeft = UnitDebuff(unit, controlled[unit])
 				color, note = &quot;cyan&quot;, timeLeft and string.format(&quot;Controlled (%ds)&quot;, timeLeft) or &quot;Controlled&quot;</diff>
      <filename>ControlFreak.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e05eacd45da70d90d5606a80dfee3e9ce5bab08e</id>
    </parent>
  </parents>
  <author>
    <name>Tekkub Stoutwrithe</name>
    <email>tekkub@gmail.com</email>
  </author>
  <url>http://github.com/tekkub/controlfreak/commit/21a2abf6f7a03d035f9019f4937baa4e2c177448</url>
  <id>21a2abf6f7a03d035f9019f4937baa4e2c177448</id>
  <committed-date>2008-04-04T21:59:44-07:00</committed-date>
  <authored-date>2008-04-04T21:59:44-07:00</authored-date>
  <message>Fix range indicator</message>
  <tree>ef2580ee66dfefb940425610c638dd7975d1c9fb</tree>
  <committer>
    <name>Tekkub Stoutwrithe</name>
    <email>tekkub@gmail.com</email>
  </committer>
</commit>
