diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-04 21:25:54 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-04 21:25:54 +0200 |
commit | 213a96e6d6373dc2a015a165d5309c20d460665d (patch) | |
tree | fad1c56ad379ced744955ae50e69715c49c40231 /src/ClientHandle.cpp | |
parent | Fixed ProtoProxy compilation in MSVC2013. (diff) | |
parent | Fixed 027efe09ea3d3222c3cbf169643e57773c1614ae (diff) | |
download | cuberite-213a96e6d6373dc2a015a165d5309c20d460665d.tar cuberite-213a96e6d6373dc2a015a165d5309c20d460665d.tar.gz cuberite-213a96e6d6373dc2a015a165d5309c20d460665d.tar.bz2 cuberite-213a96e6d6373dc2a015a165d5309c20d460665d.tar.lz cuberite-213a96e6d6373dc2a015a165d5309c20d460665d.tar.xz cuberite-213a96e6d6373dc2a015a165d5309c20d460665d.tar.zst cuberite-213a96e6d6373dc2a015a165d5309c20d460665d.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 4 |
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 ""; } |