summaryrefslogtreecommitdiffstats
path: root/src/CompositeChat.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-10-09 14:10:41 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-10-09 14:10:41 +0200
commitf951a2528325af8e1a9ef17f9a765ad68825aec7 (patch)
treec0fad320c151dec86590c3746dcbaaf5657df11c /src/CompositeChat.cpp
parentUpdate apidoc (diff)
parentUpdated the Core plugin. (diff)
downloadcuberite-f951a2528325af8e1a9ef17f9a765ad68825aec7.tar
cuberite-f951a2528325af8e1a9ef17f9a765ad68825aec7.tar.gz
cuberite-f951a2528325af8e1a9ef17f9a765ad68825aec7.tar.bz2
cuberite-f951a2528325af8e1a9ef17f9a765ad68825aec7.tar.lz
cuberite-f951a2528325af8e1a9ef17f9a765ad68825aec7.tar.xz
cuberite-f951a2528325af8e1a9ef17f9a765ad68825aec7.tar.zst
cuberite-f951a2528325af8e1a9ef17f9a765ad68825aec7.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;
}