From c03b74c3d1cfd8dc625e77b254fb32f72ee0e303 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Sat, 24 Oct 2026 23:23:16 -0500 Subject: [PATCH] Remove CLINK parsing --- modules/chat.lua | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/modules/chat.lua b/modules/chat.lua index 4bcf94ab..897028a8 100644 --- a/modules/chat.lua +++ b/modules/chat.lua @@ -800,16 +800,6 @@ pfUI:RegisterModule("chat", function () -- that don't come from one (system text, addon output, history) local event, _, sender, _, _, _, _, _, _, _, _, _, guid = GetCurrentChatEvent() - -- Remove prat CLINKs - text = gsub(text, "{CLINK:(%x+):([%d-]-:[%d-]-:[%d-]-:[%d-]-:[%d-]-:[%d-]-:[%d-]-:[%d-]-):([^}]-)}", "|c%1|Hitem:%2|h[%3]|h|r") -- tbc - text = gsub(text, "{CLINK:(%x+):([%d-]-:[%d-]-:[%d-]-:[%d-]-):([^}]-)}", "|c%1|Hitem:%2|h[%3]|h|r") -- vanilla - - -- Remove chatter CLINKs - text = gsub(text, "{CLINK:item:(%x+):([%d-]-:[%d-]-:[%d-]-:[%d-]-:[%d-]-:[%d-]-:[%d-]-:[%d-]-):([^}]-)}", "|c%1|Hitem:%2|h[%3]|h|r") - text = gsub(text, "{CLINK:enchant:(%x+):([%d-]-):([^}]-)}", "|c%1|Henchant:%2|h[%3]|h|r") - text = gsub(text, "{CLINK:spell:(%x+):([%d-]-):([^}]-)}", "|c%1|Hspell:%2|h[%3]|h|r") - text = gsub(text, "{CLINK:quest:(%x+):([%d-]-):([%d-]-):([^}]-)}", "|c%1|Hquest:%2:%3|h[%4]|h|r") - -- detect urls if C.chat.text.detecturl == "1" then text = pfUI.chat:HandleLink(text)