comments: Remove ipv6 address specific code.

master
Joey Hess 2012-08-25 10:43:24 -04:00
parent 4d2f4009cb
commit a3c1768e10
3 changed files with 4 additions and 4 deletions

View File

@ -443,10 +443,7 @@ sub editcomment ($$) {
$content .= " nickname=\"$nickname\"\n";
}
elsif (defined $session->remote_addr()) {
my $ip = $session->remote_addr();
if ($ip =~ m/^([.0-9]+)$/) {
$content .= " ip=\"$1\"\n";
}
$content .= " ip=\"".$session->remote_addr()."\"\n";
}
if ($config{comments_allowauthor}) {

1
debian/changelog vendored
View File

@ -10,6 +10,7 @@ ikiwiki (3.20120630) UNRELEASED; urgency=low
Thanks, Genevieve
* osm: osm_layers can be used to configured the layers displayed on the map.
Thanks, Antoine Beaupré
* comments: Remove ipv6 address specific code.
-- Joey Hess <joeyh@debian.org> Thu, 19 Jul 2012 13:46:52 -0400

View File

@ -13,3 +13,5 @@ the problem for me. Not sure if this is the best solution. --[[cstamas]]
[[patch]]
[[!tag ipv6]]
> [[done]] --[[Joey]]