You are here

function httpbl_whitelist_access in http:BL 7

Same name and namespace in other branches
  1. 6.2 httpbl.module \httpbl_whitelist_access()
  2. 6 httpbl.module \httpbl_whitelist_access()

Determine whether a user has access to the session whitelist functionality.

1 string reference to 'httpbl_whitelist_access'
httpbl_menu in ./httpbl.module
Implementation of hook_menu().

File

./httpbl.module, line 441
Implementation of http:BL for Drupal. It provides IP-based blacklisting through http:BL and allows linking to a honeypot.

Code

function httpbl_whitelist_access() {
  return httpbl_check() == HTTPBL_LIST_GREY;
}