Fuck
This commit is contained in:
parent
07663b1e74
commit
00814c6fb7
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user