]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/fortune.pm
* Add openidsignup config option.
[ikiwiki.git] / IkiWiki / Plugin / fortune.pm
index 8e96bdbbd1e442be73b45586f3fd276b2ea9b0e2..43f4526af3a99812ccfad101526b3242aabed088 100644 (file)
@@ -2,12 +2,12 @@
 # Include a fortune in a page
 package IkiWiki::Plugin::fortune;
 
+use IkiWiki;
 use warnings;
 use strict;
 
 sub import { #{{{
-       IkiWiki::hook(type => "preprocess", id => "fortune",
-               call => \&preprocess);
+       hook(type => "preprocess", id => "fortune", call => \&preprocess);
 } # }}}
 
 sub preprocess (@) { #{{{