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.