From f8aa743b5f50d67c7ba6d5982083e1185a849107 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sun, 10 Dec 2006 21:31:35 +0000 Subject: [PATCH] I'm very oblivious today :@ git-svn-id: file:///svn/phpbb/trunk@6745 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) {