diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-17 20:41:00 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-17 20:41:00 +1100 |
| commit | 7e3905d5fd54152a51d7085150213c7dded1848d (patch) | |
| tree | 36b0c8c01ad0a1542164436128cd06e23d5a7ae5 /mod.php | |
| parent | e0653147e46117a899da7003f53dd985f518e9cf (diff) | |
IPv6 for mod.php
Diffstat (limited to 'mod.php')
| -rw-r--r-- | mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |
