summaryrefslogtreecommitdiffstats
path: root/src/CompositeChat.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-22 15:18:39 +0200
committerMattes D <github@xoft.cz>2014-08-22 15:18:39 +0200
commite034b64a5b4aab6f285ba732923cea70dca44d2d (patch)
tree9705effad70cbd41078d7893feda0a0236515581 /src/CompositeChat.cpp
parentcMojangAPI updates cRankManager's playernames. (diff)
parentFixed a warning in FastRandom. (diff)
downloadcuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar.gz
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar.bz2
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar.lz
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar.xz
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.tar.zst
cuberite-e034b64a5b4aab6f285ba732923cea70dca44d2d.zip
Diffstat (limited to 'src/CompositeChat.cpp')
-rw-r--r--src/CompositeChat.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/CompositeChat.cpp b/src/CompositeChat.cpp
index f1a797897..0d339021e 100644
--- a/src/CompositeChat.cpp
+++ b/src/CompositeChat.cpp
@@ -353,23 +353,23 @@ AString cCompositeChat::ExtractText(void) const
-cMCLogger::eLogLevel cCompositeChat::MessageTypeToLogLevel(eMessageType a_MessageType)
+cLogger::eLogLevel cCompositeChat::MessageTypeToLogLevel(eMessageType a_MessageType)
{
switch (a_MessageType)
{
- case mtCustom: return cMCLogger::llRegular;
- case mtFailure: return cMCLogger::llWarning;
- case mtInformation: return cMCLogger::llInfo;
- case mtSuccess: return cMCLogger::llRegular;
- case mtWarning: return cMCLogger::llWarning;
- case mtFatal: return cMCLogger::llError;
- case mtDeath: return cMCLogger::llRegular;
- case mtPrivateMessage: return cMCLogger::llRegular;
- case mtJoin: return cMCLogger::llRegular;
- case mtLeave: return cMCLogger::llRegular;
+ case mtCustom: return cLogger::llRegular;
+ case mtFailure: return cLogger::llWarning;
+ case mtInformation: return cLogger::llInfo;
+ case mtSuccess: return cLogger::llRegular;
+ case mtWarning: return cLogger::llWarning;
+ case mtFatal: return cLogger::llError;
+ case mtDeath: return cLogger::llRegular;
+ case mtPrivateMessage: return cLogger::llRegular;
+ case mtJoin: return cLogger::llRegular;
+ case mtLeave: return cLogger::llRegular;
}
ASSERT(!"Unhandled MessageType");
- return cMCLogger::llError;
+ return cLogger::llError;
}