diff options
| author | Nils Adermann <naderman@naderman.de> | 2006-12-10 21:33:01 +0000 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2006-12-10 21:33:01 +0000 |
| commit | 96858686ff822a6b83c3c4b1704bfed5c9766906 (patch) | |
| tree | 68c31c9086d0433c7f41aea05873420b65c62f77 /phpBB | |
| parent | f8aa743b5f50d67c7ba6d5982083e1185a849107 (diff) | |
| download | forums-96858686ff822a6b83c3c4b1704bfed5c9766906.tar forums-96858686ff822a6b83c3c4b1704bfed5c9766906.tar.gz forums-96858686ff822a6b83c3c4b1704bfed5c9766906.tar.bz2 forums-96858686ff822a6b83c3c4b1704bfed5c9766906.tar.xz forums-96858686ff822a6b83c3c4b1704bfed5c9766906.zip | |
Haha, slowly it's starting to look stupid ...
git-svn-id: file:///svn/phpbb/trunk@6746 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/includes/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 3be378747e..229b7f10eb 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -166,7 +166,7 @@ class session foreach ($ips as $ip) { // check IPv4 first, the IPv6 is hopefully only going to be used very seldomly - if (!empty($ip) && !preg_match($ipv4, $this->forwarded_for) && !preg_match($ipv6, $ip)) + if (!empty($ip) && !preg_match($ipv4, $ip) && !preg_match($ipv6, $ip)) { if (!defined('DEBUG_EXTRA')) { |
