Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.

Commit

Permalink
Change color to right angled brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenwardy committed Jan 2, 2018
1 parent 8ffdefa commit 40c8472
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ctf_chat/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,9 @@ if minetest.global_exists("irc") then
color = ""
clear = ""
end
return ("%s%s%s <%s> %s"):format(color, tname, clear, name, message)
local abrace = color .. "<" .. clear
local bbrace = color .. ">" .. clear
return ("%s%s%s %s"):format(abrace, name, bbrace, message)
end
end

Expand Down

0 comments on commit 40c8472

Please sign in to comment.