diff --git a/modules/roll.lua b/modules/roll.lua index b6a741e3..da0e3ec6 100644 --- a/modules/roll.lua +++ b/modules/roll.lua @@ -109,7 +109,9 @@ pfUI:RegisterModule("roll", "vanilla:tbc", function () if IsControlKeyDown() then DressUpItemLink(GetLootRollItemLink(this:GetParent().rollID)) elseif IsShiftKeyDown() then - if ChatFrameEditBox:IsVisible() then + if ChatEdit_InsertLink then + ChatEdit_InsertLink(GetLootRollItemLink(this:GetParent().rollID)) + elseif ChatFrameEditBox:IsVisible() then ChatFrameEditBox:Insert(GetLootRollItemLink(this:GetParent().rollID)) end end