[PTR-BUG] Typo in SecureTemplates.lua

by Ckknight | 13/05/2007 11:34:04

Ckknight

Lines 843 and 998 are the culprits, roll instead of role.


if ( groupFilter ) then
-- filtering by a list of group numbers and/or classes
fillTable(tokenTable, strsplit(",", groupFilter));
local strictFiltering = self:GetAttribute("strictFiltering"); -- non-strict by default
for i = 1, GetNumRaidMembers(), 1 do
local name, _, subgroup, _, _, className, _, _, _, role = GetRaidRosterInfo(i);
local unit = unitPrefix..i;
if ( filterOnPet ) then
name = UnitName(unit);
end
if ( UnitExists("raidpet"..i) ) then
if ( name and
((not strictFiltering) and
(tokenTable[subgroup] or tokenTable[className] or (role and tokenTable[roll])) -- non-strict filtering
) or
(tokenTable[subgroup] and tokenTable[className]) -- strict filtering
) then


Check the line (tokenTable[subgroup] or tokenTable[className] or (role and tokenTable[roll])) -- non-strict filtering.

Where did roll come from? typos for the loss.

Please fix this. I'm trying to implement MAINTANK and MAINASSIST frames in PitBull.

[ Post edited by Ckknight ]


FuBar author, Cartographer author, Ace2 developer (Find em at wowace.com or wowinterface.com)

Show your appreciation by donating to my paypal: ckknight at gmail dot com

by Slouken | 14/05/2007 13:53:46

Slouken

This is already fixed for 2.1.0 release, thanks!

Bump! Recently Bumped Threads

 

Blizzard Announcement Recent Blizzard Announcements

 

We suggest