From 2bf5191d4fc9c9b0a5a74d9fbd5c1e17d185c14d Mon Sep 17 00:00:00 2001 From: pigmonkey Date: Sat, 3 Sep 2011 15:09:06 -0400 Subject: [PATCH] Fixed bug when ctrl+clicking links --- modules/miscellaneous.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/miscellaneous.lua b/modules/miscellaneous.lua index 0a556b5..2110d80 100644 --- a/modules/miscellaneous.lua +++ b/modules/miscellaneous.lua @@ -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