summaryrefslogtreecommitdiffstats
path: root/src/CompositeChat.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-08-10 20:34:11 +0200
committerTycho <work.tycho+git@gmail.com>2014-08-10 20:34:11 +0200
commit806d0936dc94f235858ffe1772a6215f86c5d000 (patch)
tree38a84d8de02dc7da20af969f88c722abbea13300 /src/CompositeChat.cpp
parentMerge pull request #1291 from mc-server/RedstoneCleanUp (diff)
downloadcuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar
cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar.gz
cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar.bz2
cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar.lz
cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar.xz
cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.tar.zst
cuberite-806d0936dc94f235858ffe1772a6215f86c5d000.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..b702447be 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)
+Logger::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 Logger::llRegular;
+ case mtFailure: return Logger::llWarning;
+ case mtInformation: return Logger::llInfo;
+ case mtSuccess: return Logger::llRegular;
+ case mtWarning: return Logger::llWarning;
+ case mtFatal: return Logger::llError;
+ case mtDeath: return Logger::llRegular;
+ case mtPrivateMessage: return Logger::llRegular;
+ case mtJoin: return Logger::llRegular;
+ case mtLeave: return Logger::llRegular;
}
ASSERT(!"Unhandled MessageType");
- return cMCLogger::llError;
+ return Logger::llError;
}