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

17 lines
No EOL
398 B
PHP

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