diff options
author | Git <git@what.cd> | 2012-09-04 08:00:23 +0000 |
---|---|---|
committer | Git <git@what.cd> | 2012-09-04 08:00:23 +0000 |
commit | 9f216002c1783a2d1cb4356ef87c834d1e719f0e (patch) | |
tree | 73cad289982d290c4d2b93baa0a36088fc6e9597 /classes/script_start.php | |
parent | 4735fae5072979970b80c14b727c7e74a8fed330 (diff) | |
download | Gazelle-9f216002c1783a2d1cb4356ef87c834d1e719f0e.zip Gazelle-9f216002c1783a2d1cb4356ef87c834d1e719f0e.tar.gz Gazelle-9f216002c1783a2d1cb4356ef87c834d1e719f0e.tar.bz2 |
Empty commit
Diffstat (limited to 'classes/script_start.php')
-rw-r--r-- | classes/script_start.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/script_start.php b/classes/script_start.php index e7db54c..3684edd 100644 --- a/classes/script_start.php +++ b/classes/script_start.php @@ -210,7 +210,10 @@ if(isset($LoginCookie)) { } // IP changed + + if($LoggedUser['IP'] != $_SERVER['REMOTE_ADDR'] && !check_perms('site_disable_ip_history')) { + if(site_ban_ip($_SERVER['REMOTE_ADDR'])) { error('Your IP has been banned.'); } |