mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
disabling tripcodes
This commit is contained in:
parent
a7658fe3c2
commit
82881fe512
7
post.php
7
post.php
@ -850,7 +850,12 @@ if (isset($_POST['delete'])) {
|
|||||||
|
|
||||||
$trip = generate_tripcode($post['name']);
|
$trip = generate_tripcode($post['name']);
|
||||||
$post['name'] = $trip[0];
|
$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;
|
$noko = false;
|
||||||
if (strtolower($post['email']) == 'noko') {
|
if (strtolower($post['email']) == 'noko') {
|
||||||
|
Loading…
Reference in New Issue
Block a user