summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-20 20:36:08 +0200
committerMattes D <github@xoft.cz>2014-07-20 20:36:08 +0200
commitb41bd2da5c8ea5ec3eff200829c70755a903816f (patch)
treeb704bfa5d31f872e8e7836eb0bbb6e21af17ac35 /src/ClientHandle.cpp
parentRevert "Only one instance of server can be started" (diff)
parentChatColor.h: The @deprecated tag slipped. Oops. (diff)
downloadcuberite-b41bd2da5c8ea5ec3eff200829c70755a903816f.tar
cuberite-b41bd2da5c8ea5ec3eff200829c70755a903816f.tar.gz
cuberite-b41bd2da5c8ea5ec3eff200829c70755a903816f.tar.bz2
cuberite-b41bd2da5c8ea5ec3eff200829c70755a903816f.tar.lz
cuberite-b41bd2da5c8ea5ec3eff200829c70755a903816f.tar.xz
cuberite-b41bd2da5c8ea5ec3eff200829c70755a903816f.tar.zst
cuberite-b41bd2da5c8ea5ec3eff200829c70755a903816f.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index cf78b19c5..de4245b40 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -210,11 +210,11 @@ AString cClientHandle::FormatMessageType(bool ShouldAppendChatPrefixes, eMessage
{
if (ShouldAppendChatPrefixes)
{
- return Printf("%s[MSG: %s] %s%s", cChatColor::LightBlue.c_str(), a_AdditionalData.c_str(), cChatColor::White.c_str(), cChatColor::Italic.c_str());
+ return Printf("%s[MSG: %s] %s%s", cChatColor::LightBlue, a_AdditionalData.c_str(), cChatColor::White, cChatColor::Italic);
}
else
{
- return Printf("%s: %s", a_AdditionalData.c_str(), cChatColor::LightBlue.c_str());
+ return Printf("%s: %s", a_AdditionalData.c_str(), cChatColor::LightBlue);
}
}
}
@@ -533,9 +533,9 @@ void cClientHandle::HandlePing(void)
Printf(Reply, "%s%s%i%s%i",
Server.GetDescription().c_str(),
- cChatColor::Delimiter.c_str(),
+ cChatColor::Delimiter,
Server.GetNumPlayers(),
- cChatColor::Delimiter.c_str(),
+ cChatColor::Delimiter,
Server.GetMaxPlayers()
);
Kick(Reply);