diff --git a/include/shared-manual.inc b/include/shared-manual.inc index 0b6454ee3..71a063929 100644 --- a/include/shared-manual.inc +++ b/include/shared-manual.inc @@ -591,23 +591,3 @@ function manual_footer_beta() { site_footer(); } -/** - * Block specific static IP addresses known to do nothing - * but make our lives more difficult. 27-APR-2010 - * Expects: $ip - * Returns: $ip on blacklist, false on clear. - */ -function kill_spammer($ip) { - - // Bad IPs - $bad = array( - '66.51.252.15', - ); - - // If the IP is blocked, return the IP address. - if (in_array($ip,$bad)) { - return $ip; - } - - return false; -} diff --git a/manual/add-note.php b/manual/add-note.php index e80d66e8d..14c267e76 100644 --- a/manual/add-note.php +++ b/manual/add-note.php @@ -1,40 +1,6 @@ - */ -include dirname(__FILE__).'/include/spam-func.php'; -if (kill_spammer($_SERVER['REMOTE_ADDR']) !== false) { - echo "
- h1>WHOA! - - Enough is enough, pal. All you do is make - our jobs and lives more difficult with your - constant reposting of SPAM and/or useless - material. And you know what? We're sick of - it! Consider yourself blacklisted from ever - posting here again.
-
- - Think this is some kind of joke? It's not.
-
- - Think this is some kind of mistake? Well, if you - haven't been submitting junk to the site, submit - this as a bug at http://bugs.php.net/ - with the following message:
-
- - Improper Blocking: ".strrev(str_replace('.','-',$_SERVER['REMOTE_ADDR']))."
-
- - Bye! -
"; -} - $ip_spam_lookup_url = 'http://www.dnsbl.info/dnsbl-database-check.php?IP='; $_SERVER['BASE_PAGE'] = 'manual/add-note.php';