1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-12 01:50:48 +01:00

disabling tripcodes

This commit is contained in:
Lorenzo Yario 2024-05-08 18:34:35 -07:00 committed by GitHub
parent a7658fe3c2
commit 82881fe512
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -850,7 +850,12 @@ if (isset($_POST['delete'])) {
$trip = generate_tripcode($post['name']);
$post['name'] = $trip[0];
$post['trip'] = isset($trip[1]) ? $trip[1] : ''; // XX: Dropped posts and tripcodes
if ($config['disable_tripcodes'] = true && !$mod) {
$post['trip'] = '';
}
else {
$post['trip'] = isset($trip[1]) ? $trip[1] : ''; // XX: Dropped posts and tripcodes
}
$noko = false;
if (strtolower($post['email']) == 'noko') {