From 7e3905d5fd54152a51d7085150213c7dded1848d Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 17 Feb 2011 20:41:00 +1100 Subject: IPv6 for mod.php --- mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod.php') diff --git a/mod.php b/mod.php index fb997e4c..034e18a8 100644 --- a/mod.php +++ b/mod.php @@ -603,7 +603,7 @@ 'mod'=>true ) ); - } elseif(preg_match('/^\/IP\/(\d+\.\d+\.\d+\.\d+)$/', $query, $matches)) { + } elseif(preg_match('/^\/IP\/(\d+\.\d+\.\d+\.\d+|' . $config['ipv6_regex'] . ')$/', $query, $matches)) { // View information on an IP address $ip = $matches[1]; -- cgit v1.3