Skip to content

Commit

Permalink
Update antiscan.module
Browse files Browse the repository at this point in the history
Bug fix.
  • Loading branch information
findlabnet authored Aug 21, 2022
1 parent 77f5d8e commit 746c436
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion antiscan.module
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ function antiscan_block_info() {
function antiscan_block_view($delta = '') {
$block = array();
$ip_num = '';
include_once BACKDROP_ROOT . '/core/includes/install.inc';
$requirements = system_get_requirements();
foreach ($requirements as $requirement) {
if (isset($requirement['title']) && $requirement['title'] === 'IP address blocking') {
Expand All @@ -403,4 +404,4 @@ function antiscan_block_view($delta = '') {
}
}
}


0 comments on commit 746c436

Please sign in to comment.