View Single Post
02-07-14, 08:32 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Probably:
Code:
local orig = BNToastFrame_AddToast
function BNToastFrame_AddToast(toastType, toastData)
     if toastType ~= 3 or toastData ~= "OQ" then
         return orig(toastType, toastData)
     end
end
On a side note, there's no need to attach Blizzard UI files to posts; you can just link to one of the several online mirrors of the code. Some even let you link directly to a specific line.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote