summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-06 21:15:19 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-06 21:15:19 +0200
commit696a7bc52e9b029b627feee76eaf5e1239417033 (patch)
treeac3e5152dd6e7eb2a9420daad8df3bb2560d544f /src/ClientHandle.cpp
parentSuggestions'd #2 (diff)
parentMerge pull request #978 from mc-server/VectorAssignmentOperator (diff)
downloadcuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar.gz
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar.bz2
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar.lz
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar.xz
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.tar.zst
cuberite-696a7bc52e9b029b627feee76eaf5e1239417033.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 29213ca2d..d414c3178 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -202,7 +202,7 @@ AString cClientHandle::FormatMessageType(bool ShouldAppendChatPrefixes, eMessage
{
switch (a_ChatPrefix)
{
- case mtCustom: return AString();
+ case mtCustom: return "";
case mtFailure: return FormatChatPrefix(ShouldAppendChatPrefixes, "INFO", cChatColor::Rose, cChatColor::White);
case mtInformation: return FormatChatPrefix(ShouldAppendChatPrefixes, "INFO", cChatColor::Yellow, cChatColor::White);
case mtSuccess: return FormatChatPrefix(ShouldAppendChatPrefixes, "INFO", cChatColor::Green, cChatColor::White);
@@ -224,7 +224,7 @@ AString cClientHandle::FormatMessageType(bool ShouldAppendChatPrefixes, eMessage
}
}
ASSERT(!"Unhandled chat prefix type!");
- return AString();
+ return "";
}