1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-02-04 14:20:16 +01:00

[shutdown] Add compatibility definition for core.colorize

This commit is contained in:
LeMagnesium 2016-06-21 01:34:43 +02:00
parent 6f5b2d4890
commit bb76964df4

View File

@ -28,6 +28,12 @@ end
local timer = 0 local timer = 0
if not core.colorize then
core.colorize = function(c, m)
return m
end
end
local function send(msg, col) local function send(msg, col)
core.chat_send_all(core.colorize(col, msg)) core.chat_send_all(core.colorize(col, msg))
end end