From: Simon McVittie Date: Tue, 23 Nov 2010 23:14:01 +0000 (+0000) Subject: pinger: avoid pinging our own local path, too X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=18bb93f5744c1b57b929d9f8a6042e51fc5256f0;p=ikiwiki.git pinger: avoid pinging our own local path, too --- diff --git a/IkiWiki/Plugin/pinger.pm b/IkiWiki/Plugin/pinger.pm index cc9f52d2b..932619496 100644 --- a/IkiWiki/Plugin/pinger.pm +++ b/IkiWiki/Plugin/pinger.pm @@ -106,6 +106,8 @@ sub ping { # only ping when a page was changed, so a ping loop # will still be avoided. next if $url=~/^\Q$config{cgiurl}\E/; + my $local_cgiurl = IkiWiki::cgiurl(); + next if $url=~/^\Q$local_cgiurl\E/; $ua->get($url); }