{
ClientBean client = ClientBean.get(chatMsg.getChannel());
// extract the whole prefix message, get the channel prefix and the actual message
String prfMsg = chatMsg.getPrefixedMessage();
ChatChannel chan = ChatChannel.getFromPrefix(prfMsg.charAt(0));
String msg = prfMsg.substring(1);
// failcheck
if (chan == null || msg == null || msg.equals("")) { return; }
LOGGER.debug("Got new chat message for channel {}: {}", chan.name(), msg);
// if it's a special channel we might want to distinguish between
// different actions.
// there is 3 types: the usual ingame stuff; whisper; command