功能bug
parent
0de940f9d0
commit
a71818e1b5
|
@ -177,7 +177,7 @@ public class HandlerLogicThread extends Thread{
|
|||
LOGGER.error(ErrorUtil.getExceptionStackTraceFileLineAndMethod(e));
|
||||
}else {
|
||||
LOGGER.info(e.toString());
|
||||
LOGGER.debug(ErrorUtil.getExceptionStackTraceFileLineAndMethod(e));
|
||||
LOGGER.error(ErrorUtil.getExceptionStackTraceFileLineAndMethod(e));
|
||||
}
|
||||
MessageUtil.sendErrorResponse(session, errCode, session.getLastMsgId() + 1,(ErrorCodeException)e);
|
||||
return;
|
||||
|
|
|
@ -183,9 +183,9 @@ public class PlayerLogic {
|
|||
}
|
||||
|
||||
private boolean checkName(ISession iSession, String name, int msgId) throws Exception {
|
||||
if(!Repot37EventUtil.Report37Chat(UserManager.getUser(iSession.getUid()), ChatContentType.ROLE_NAME,name)){
|
||||
throw new ErrorCodeException(ErrorCode.NAME_ILLEGAL);
|
||||
}
|
||||
// if(!Repot37EventUtil.Report37Chat(UserManager.getUser(iSession.getUid()), ChatContentType.ROLE_NAME,name)){
|
||||
// throw new ErrorCodeException(ErrorCode.NAME_ILLEGAL);
|
||||
// }
|
||||
int length = getStrLength(name);
|
||||
if (length == -1) {
|
||||
throw new ErrorCodeException(ErrorCode.NAME_ILLEGAL);
|
||||
|
|
Loading…
Reference in New Issue