1
0

Added StringUtils functions to Lua API; added StripColorCodes(); ChatLog now strips color codes from logged messages.

Fixes FS #398

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1661 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2013-07-07 14:42:07 +00:00
parent 0224a4f7fc
commit 5951bc76ec
6 changed files with 196 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ end
function OnChat(Player, Message)
-- Lets get loggin'
LOGINFO("[" .. Player:GetName() .. "]: " .. Message);
LOGINFO("[" .. Player:GetName() .. "]: " .. StripColorCodes(Message));
return false
end