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