megamage/TrinityCore — comment on commit 2730d51266af40ce07c26d2282c111558ea5e14c
File:  line 0
By telsamat:

for me this fix does not work properly
people can buy some SOH items like 50x Grand Ice Mammoth with macro

/script local function buy (n,q) for i=1,100 do if n==GetMerchantItemInfo(i) then BuyMerchantItem(i,q) end end end buy ("Reins of the Grand Ice Mammoth",50)

and then sell it with another macro

/script for bag = 0,4,1 do for slot = 1, GetContainerNumSlots(bag), 1 do local name = GetContainerItemLink(bag,slot); if name and string.find(name,"Reins of the Grand Ice Mammoth") then UseContainerItem(bag,slot) end; end; end

this is very big exploit of gold