mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 15:40:12 +01:00
Bugfix: with third-party scripts that use create_antibot()
This commit is contained in:
parent
c14260538b
commit
3acc0fd591
@ -210,7 +210,7 @@ function _syslog($priority, $message) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function create_antibot($board, $thread = null) {
|
function create_antibot($board, $thread = null) {
|
||||||
require_once 'inc/anti-bot.php';
|
require_once dirname(__FILE__) . '/inc/anti-bot.php';
|
||||||
|
|
||||||
return _create_antibot($board, $thread);
|
return _create_antibot($board, $thread);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user