From 4dd5b6c1e9945705b77553522cc73c0a5f5099f0 Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Mon, 12 Aug 2019 07:57:35 +0200 Subject: [PATCH] fix https://github.com/pandorabox-io/pandorabox.io/issues/269 --- format_message.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/format_message.lua b/format_message.lua index b136d11..19dbb55 100644 --- a/format_message.lua +++ b/format_message.lua @@ -4,7 +4,7 @@ function format_string(s, tab) end function colorize_target_name(s, target) - if not target then + if not target or not s then return s end @@ -37,4 +37,4 @@ beerchat.format_message = function(s, tab) } return format_string(s, params) -end \ No newline at end of file +end