1
0
Fork 0

Fixed bug when ctrl+clicking links

This commit is contained in:
pigmonkey 2011-09-03 15:09:06 -04:00
parent 6c26b284bf
commit 2bf5191d4f

View file

@ -354,7 +354,7 @@ function SetItemRef(id, text, button, chatFrame, ...)
end
if name and message then
message = message:gsub("|c%x%x%x%x%x%x%x%x(.-)|r", "%1")
message = message:gsub("|c%x%x%x%x%x%x%x%x([^|].-)|r", "%1")
SendChatMessage(("%s: %s"):format(name, message), "officer")
return
end