summaryrefslogtreecommitdiffstats
path: root/src/CompositeChat.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-09-25 12:42:05 +0200
committerMattes D <github@xoft.cz>2016-09-25 12:42:05 +0200
commite169043a841824eacebeb7db7ecb202a7d3c4b02 (patch)
tree2867c0814251c68764cae34745447d2904a2c0b3 /src/CompositeChat.cpp
parentInfoReg: Don't fail if there are no commands to register. (diff)
downloadcuberite-e169043a841824eacebeb7db7ecb202a7d3c4b02.tar
cuberite-e169043a841824eacebeb7db7ecb202a7d3c4b02.tar.gz
cuberite-e169043a841824eacebeb7db7ecb202a7d3c4b02.tar.bz2
cuberite-e169043a841824eacebeb7db7ecb202a7d3c4b02.tar.lz
cuberite-e169043a841824eacebeb7db7ecb202a7d3c4b02.tar.xz
cuberite-e169043a841824eacebeb7db7ecb202a7d3c4b02.tar.zst
cuberite-e169043a841824eacebeb7db7ecb202a7d3c4b02.zip
Diffstat (limited to '')
-rw-r--r--src/CompositeChat.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/CompositeChat.cpp b/src/CompositeChat.cpp
index 2a112f810..657d88292 100644
--- a/src/CompositeChat.cpp
+++ b/src/CompositeChat.cpp
@@ -282,11 +282,10 @@ cLogger::eLogLevel cCompositeChat::MessageTypeToLogLevel(eMessageType a_MessageT
case mtPrivateMessage: return cLogger::llRegular;
case mtJoin: return cLogger::llRegular;
case mtLeave: return cLogger::llRegular;
+ case mtMaxPlusOne: break;
}
ASSERT(!"Unhandled MessageType");
- #ifndef __clang__
- return cLogger::llError;
- #endif
+ return cLogger::llError;
}