From ecb6640d4f5898781856f6a9826ae483965b4ee4 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 9 Nov 2017 23:12:23 +0100 Subject: [PATCH] chat: prevent whispermod from removing color reset --- modules/chat.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/chat.lua b/modules/chat.lua index 3ed7c6cd..a54c6f80 100644 --- a/modules/chat.lua +++ b/modules/chat.lua @@ -774,7 +774,7 @@ pfUI:RegisterModule("chat", function () if C.chat.global.whispermod == "1" then -- patch incoming whisper string to match the colors if string.find(text, '|cff'..wcol, 1) == 1 then - text = string.gsub(text, "|r", "|cff" .. wcol) + text = string.gsub(text, "|r", "|r|cff" .. wcol) end end