Fix exception during rejected chat message
This commit is contained in:
parent
514e96605b
commit
446c52e933
1 changed files with 3 additions and 0 deletions
|
|
@ -74,6 +74,9 @@ public class SendMessageHandler implements HttpHandler {
|
|||
}
|
||||
else if(require_player_login_ip) {
|
||||
Log.info("Ignore message from '" + message.name + "' - no matching player login recorded");
|
||||
response.fields.put("Content-Length", "0");
|
||||
response.status = HttpStatus.Forbidden;
|
||||
response.getBody();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue