This commit is contained in:
William 2023-01-22 13:27:20 +01:00
parent 07663b1e74
commit 00814c6fb7
1 changed files with 2 additions and 2 deletions

View File

@ -38,14 +38,14 @@ Route::match('get|post','/willychat/', function() {
if (strlen($nick) > 128) {
view('pages/willychat/error', [
'error' => 'You nickname is too long.'
'error' => 'Your nickname is too long.'
]);
die();
}
if (strlen($text) > 4096) {
view('pages/willychat/error', [
'error' => 'Do not send extremely long messages.'
'error' => 'Do not send EXTREMELY long messages.'
]);
die();
}