summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
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];