/*
* If result is OK then the account was created and we notify
* player about that.
*/
logger.debug("Account (" + username + ") created.");
MessageS2CCreateAccountACK msgCreateAccountACK = new MessageS2CCreateAccountACK(
message.getSocketChannel(), val.getUsername());
msgCreateAccountACK.setProtocolVersion(message.getProtocolVersion());
netMan.sendMessage(msgCreateAccountACK);
} else {
/*
* Account creation may also fail. So expose the reasons of the
* failure.