[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
1 changed files with 6 additions and 0 deletions

View File

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