chat: prevent whispermod from removing color reset

This commit is contained in:
shagu
2017-11-09 23:12:23 +01:00
parent 8218f3f28c
commit ecb6640d4f
+1 -1
View File
@@ -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