core: global environment cleanup

This commit is contained in:
Road-block
2019-03-31 14:59:21 +02:00
committed by shagu
parent 9ecafee7d5
commit e50fabfff9
15 changed files with 25 additions and 23 deletions
+1 -1
View File
@@ -594,7 +594,7 @@ pfUI:RegisterModule("chat", function ()
-- read and parse whisper color settings
local cr, cg, cb, ca = strsplit(",", C.chat.global.whisper)
cr, cg, cb = tonumber(cr), tonumber(cg), tonumber(cb)
wcol = string.format("%02x%02x%02x",cr * 255,cg * 255, cb * 255)
local wcol = string.format("%02x%02x%02x",cr * 255,cg * 255, cb * 255)
-- read and parse chat bracket settings
local left = "|r" .. string.sub(C.chat.text.bracket, 1, 1)