]> sipb.mit.edu Git - ikiwiki.git/commitdiff
do not need to qualify %links
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 3 Oct 2009 18:01:19 +0000 (14:01 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 3 Oct 2009 18:01:19 +0000 (14:01 -0400)
IkiWiki.pm

index 85d8eea68419cb350e530c322958796186e05b1f..974e369029291cd5351ed7c6321b48eb7c632d55 100644 (file)
@@ -544,12 +544,12 @@ sub loadplugins () {
        }
        
        if ($config{rcs}) {
        }
        
        if ($config{rcs}) {
-               if (exists $IkiWiki::hooks{rcs}) {
+               if (exists $hooks{rcs}) {
                        error(gettext("cannot use multiple rcs plugins"));
                }
                loadplugin($config{rcs});
        }
                        error(gettext("cannot use multiple rcs plugins"));
                }
                loadplugin($config{rcs});
        }
-       if (! exists $IkiWiki::hooks{rcs}) {
+       if (! exists $hooks{rcs}) {
                loadplugin("norcs");
        }
 
                loadplugin("norcs");
        }