mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 13:15:30 +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) {
|
else if(require_player_login_ip) {
|
||||||
Log.info("Ignore message from '" + message.name + "' - no matching player login recorded");
|
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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user