Make the match less specific to allow other addons to work with it
p3lim [01-12-11 - 11:00]
Make the match less specific to allow other addons to work with it
diff --git a/RealLinks.lua b/RealLinks.lua
index b1bc9c3..ad7aff3 100644
--- a/RealLinks.lua
+++ b/RealLinks.lua
@@ -31,7 +31,7 @@ local function GetLinkColor(data)
end
local function AddLinkColors(self, event, msg, ...)
- local data = string.match(msg, '|H(.-)|h%[(.-)%]|h')
+ local data = string.match(msg, '|H(.-)|h(.-)|h')
if(data) then
return false, msg:gsub('|H(.-)|h(.-)|h', GetLinkColor(data) .. '|H%1|h%2|h|r'), ...
else