You are here

function _autoban_ip_ranges_enable in Automatic IP ban (Autoban) 7

Is ip_ranges module enabled?

Return value

bool The module is enabled.

7 calls to _autoban_ip_ranges_enable()
autoban_clear_tables_form in ./autoban.admin.inc
Clear tables.
autoban_help in ./autoban.module
Implements hook_help().
autoban_test in ./autoban.admin.inc
Menu callback. Test autoban rule page.
autoban_vbo_action_info in autoban_vbo/autoban_vbo.module
@file Defines the VBO integration module. This adds ban actions to VBO.
_autoban_get_ip_type_names_list in ./autoban.module
Retrieves list of IP type names.

... See full list

File

./autoban.module, line 1055
Main file for autoban module.

Code

function _autoban_ip_ranges_enable() {
  return module_exists('ip_ranges');
}