mirror of
https://gh.wpcy.net/https://github.com/webguyio/stop-spammers-classic.git
synced 2026-05-26 02:02:57 +08:00
21 lines
No EOL
474 B
PHP
21 lines
No EOL
474 B
PHP
<?php
|
|
|
|
if ( !defined( 'ABSPATH' ) ) {
|
|
status_header( 404 );
|
|
exit;
|
|
}
|
|
|
|
class chkblem extends be_module { // change name
|
|
public $searchname = 'Block List Email';
|
|
public function process( $ip, &$stats = array(), &$options = array(), &$post = array() ) {
|
|
// checks the IP from params which has the cache in it
|
|
$email = $post['email'];
|
|
if ( empty( $email ) ) {
|
|
return false;
|
|
}
|
|
$blist = $options['blist'];
|
|
return $this->searchList( $email, $blist );
|
|
}
|
|
}
|
|
|
|
?>
|