]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/pinger.pm
cutpaste: Fix bug that occured in some cases involving inlines when text was pasted...
[git.ikiwiki.info.git] / IkiWiki / Plugin / pinger.pm
index 4a808866164d7e2f1e6e185b97b37e50cf0c307b..cc9f52d2b50e7e880882ff56b89d8bafba5c274d 100644 (file)
@@ -45,6 +45,7 @@ sub needsbuild (@) {
                        }
                }
        }
+       return $needsbuild;
 }
 
 sub preprocess (@) {
@@ -106,7 +107,7 @@ sub ping {
                        # will still be avoided.
                        next if $url=~/^\Q$config{cgiurl}\E/;
                        
-                       $ua->head($url);
+                       $ua->get($url);
                }
                
                exit 0;