This commit is contained in:
William 2023-01-22 13:27:20 +01:00
parent 07663b1e74
commit 00814c6fb7

View File

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