summaryrefslogtreecommitdiffstats
path: root/classes/script_start.php
diff options
context:
space:
mode:
authorGit <git@what.cd>2012-09-04 08:00:23 +0000
committerGit <git@what.cd>2012-09-04 08:00:23 +0000
commit9f216002c1783a2d1cb4356ef87c834d1e719f0e (patch)
tree73cad289982d290c4d2b93baa0a36088fc6e9597 /classes/script_start.php
parent4735fae5072979970b80c14b727c7e74a8fed330 (diff)
downloadGazelle-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.php3
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.');
}