summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-02-17 20:41:00 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-02-17 20:41:00 +1100
commit7e3905d5fd54152a51d7085150213c7dded1848d (patch)
tree36b0c8c01ad0a1542164436128cd06e23d5a7ae5 /mod.php
parente0653147e46117a899da7003f53dd985f518e9cf (diff)
IPv6 for mod.php
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php2
1 files changed, 1 insertions, 1 deletions
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];