diff options
| author | Nils Adermann <naderman@naderman.de> | 2006-12-10 21:31:35 +0000 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2006-12-10 21:31:35 +0000 |
| commit | f8aa743b5f50d67c7ba6d5982083e1185a849107 (patch) | |
| tree | ed83b56457594ba2bf3c41b419a639d50cab39e7 /phpBB/includes/session.php | |
| parent | 81832ca6452edc04085d8e098132694121700780 (diff) | |
| download | forums-f8aa743b5f50d67c7ba6d5982083e1185a849107.tar forums-f8aa743b5f50d67c7ba6d5982083e1185a849107.tar.gz forums-f8aa743b5f50d67c7ba6d5982083e1185a849107.tar.bz2 forums-f8aa743b5f50d67c7ba6d5982083e1185a849107.tar.xz forums-f8aa743b5f50d67c7ba6d5982083e1185a849107.zip | |
I'm very oblivious today :@
git-svn-id: file:///svn/phpbb/trunk@6745 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
| -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 91bdffc794..3be378747e 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, $this->forwarded_for)) + if (!empty($ip) && !preg_match($ipv4, $this->forwarded_for) && !preg_match($ipv6, $ip)) { if (!defined('DEBUG_EXTRA')) { |
