summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2010-11-23 23:14:01 +0000
committerSimon McVittie <smcv@debian.org>2010-11-23 23:14:38 +0000
commit18bb93f5744c1b57b929d9f8a6042e51fc5256f0 (patch)
tree2d31be6f01cffd9b7f70873c26731b26bebd96c5 /IkiWiki/Plugin
parent2411e2be1f97ce55a0ba8aa20b6d6e1abe0766de (diff)
pinger: avoid pinging our own local path, too
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/pinger.pm2
1 files changed, 2 insertions, 0 deletions
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);
}