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:
parent
6f5b2d4890
commit
bb76964df4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user