From af2c1304ac06fe6fc0f8e10e4a9e3f1676b60041 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sun, 7 Nov 2021 23:12:09 +0100 Subject: [PATCH] Small tweak --- src/common.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common.lua b/src/common.lua index 5dfdde1..8838ec4 100644 --- a/src/common.lua +++ b/src/common.lua @@ -44,7 +44,8 @@ local function reset_compression(data) end local function msg(name, str) - return core.chat_send_player(name, fmt("[i3] %s", str)) + local prefix = "[i3]" + return core.chat_send_player(name, fmt("%s %s", core.colorize("#ff0", prefix), str)) end local function err(str)