summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-03-23 17:56:05 +0100
committerJonas Smedegaard <dr@jones.dk>2021-03-23 17:56:05 +0100
commit11ba999eeb3397e896d311be513fcec1a96789f4 (patch)
treefe7c067e1636ef1cb5c4dd44a053fc991f99aa61
parentc9bdb45ba6fc5768a0625f7e065220a6fb28a806 (diff)
sync with ikiwiki 3.20170622
-rw-r--r--IkiWiki/Plugin/osm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/osm.pm b/IkiWiki/Plugin/osm.pm
index 472e269..a5af4ed 100644
--- a/IkiWiki/Plugin/osm.pm
+++ b/IkiWiki/Plugin/osm.pm
@@ -14,7 +14,7 @@ sub import {
hook(type => "format", id => "osm", call => \&format);
hook(type => "preprocess", id => "osm", call => \&preprocess);
hook(type => "preprocess", id => "waypoint", call => \&process_waypoint);
- hook(type => "savestate", id => "waypoint", call => \&savestate);
+ hook(type => "changes", id => "waypoint", call => \&changes);
hook(type => "cgi", id => "osm", call => \&cgi);
}
@@ -280,7 +280,7 @@ sub scrub_lonlat($$$) {
return ($lon, $lat);
}
-sub savestate {
+sub changes {
my %waypoints = ();
my %linestrings = ();