mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-25 10:07:37 +01:00
Fix exception during rejected chat message
This commit is contained in:
parent
514e96605b
commit
446c52e933
@ -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…
Reference in New Issue
Block a user