diff --git a/game-server/app/services/checkParam.ts b/game-server/app/services/checkParam.ts index a889c601c..96705528d 100644 --- a/game-server/app/services/checkParam.ts +++ b/game-server/app/services/checkParam.ts @@ -811,7 +811,7 @@ export function checkRouteParam(route: string, msg: any) { case "chat.chatHandler.accuse": { if(!checkStringIfExist(msg.targetRoleId, msg.targetMsgCode)) return false; - if(!checkStringIfExist(msg.reason)) return false; + if(!checkNumberIfExist(msg.reason)) return false; break; } case "connector.entryHanddler.enter":