1
0
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:
fallenPineapple 2017-04-29 11:16:38 -04:00
parent a0b3c347b9
commit 7344faf65d

View File

@ -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();