diff options
author | Mattes D <github@xoft.cz> | 2014-08-15 07:20:37 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-15 07:20:37 +0200 |
commit | e553d58eaf4dfdc56ebb1e3155f8b4dd2a33d7f1 (patch) | |
tree | 8a4f77b7471841910afbfdf7ebabbba68886c9b1 /src/CompositeChat.cpp | |
parent | CheckBasicStyle checks the src folder as well. (diff) | |
parent | Removed an unneeded cast. (diff) | |
download | cuberite-e553d58eaf4dfdc56ebb1e3155f8b4dd2a33d7f1.tar cuberite-e553d58eaf4dfdc56ebb1e3155f8b4dd2a33d7f1.tar.gz cuberite-e553d58eaf4dfdc56ebb1e3155f8b4dd2a33d7f1.tar.bz2 cuberite-e553d58eaf4dfdc56ebb1e3155f8b4dd2a33d7f1.tar.lz cuberite-e553d58eaf4dfdc56ebb1e3155f8b4dd2a33d7f1.tar.xz cuberite-e553d58eaf4dfdc56ebb1e3155f8b4dd2a33d7f1.tar.zst cuberite-e553d58eaf4dfdc56ebb1e3155f8b4dd2a33d7f1.zip |
Diffstat (limited to 'src/CompositeChat.cpp')
-rw-r--r-- | src/CompositeChat.cpp | 24 |
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; } |