fix hook name
authorJoey Hess <joey@kitenet.net>
Wed, 28 Mar 2012 23:04:44 +0000 (19:04 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 28 Mar 2012 23:04:44 +0000 (19:04 -0400)
IkiWiki/Render.pm

index 98aab82043073e7a0af80e14087308da8a0ee4ce..5b461611d3ae66c262e016096a1ca5061fb53984 100644 (file)
@@ -832,7 +832,7 @@ sub refresh () {
                run_hooks(rendered => sub { shift->(keys %rendered) });
                run_hooks(change => sub { shift->(keys %rendered) }); # back-compat
        }
-       run_hooks(difference => sub {
+       run_hooks(changes => sub {
                shift->(@$new, @$changed, @$del,
                        @$internal_new, @$internal_changed, @$internal_del);
        });