dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b32ef8
)
Add comment
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 14 Apr 2008 19:20:17 +0000
(19:20 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 14 Apr 2008 19:20:17 +0000
(19:20 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
bbe70bf
..
b3a839e
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-980,7
+980,7
@@
class User {
$found = false;
$host = '';
-
+ // FIXME: IPv6 ???
$m = array();
if ( preg_match( '/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/', $ip, $m ) ) {
# Make hostname