mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-24 14:23:23 +01:00
Removed old code causing issues.
This commit is contained in:
parent
a0b3c347b9
commit
7344faf65d
@ -154,8 +154,6 @@ class Filter {
|
|||||||
$this->reject = isset($this->reject) ? $this->reject : true;
|
$this->reject = isset($this->reject) ? $this->reject : true;
|
||||||
$this->all_boards = isset($this->all_boards) ? $this->all_boards : false;
|
$this->all_boards = isset($this->all_boards) ? $this->all_boards : false;
|
||||||
|
|
||||||
Bans::new_ban($_SERVER['REMOTE_ADDR'], $this->reason, $this->expires, $this->all_boards ? false : $board['uri'], -1);
|
|
||||||
|
|
||||||
// Get user cookie
|
// Get user cookie
|
||||||
$cookie = get_uuser_cookie();
|
$cookie = get_uuser_cookie();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user