stop-spammers-classic/modules/chkwlist.php
2025-09-13 16:55:35 -06:00

17 lines
No EOL
399 B
PHP

<?php
if ( !defined( 'ABSPATH' ) ) {
status_header( 404 );
exit;
}
class chkwlist extends be_module { // change name
public $searchname = 'Allow List IP';
public function process( $ip, &$stats = array(), &$options = array(), &$post = array() ) {
// checks the IP from params which has the cache in it
$gcache = $options['wlist'];
return $this->searchList( $ip, $gcache );
}
}
?>