]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/modules.pl
wingate -> Wingate
[infobot.git] / blootbot / src / modules.pl
index 317fb623a61dc43280f31d620ddc08a45a92fa51..e66af51b3bb9ac6dbfcb0cc54a779c55c43cdc4c 100644 (file)
@@ -27,34 +27,33 @@ if ($@) {
        "BZFlag"        => "BZFlag.pl",
        "countdown"     => "countdown.pl",
        "Debian"        => "Debian.pl",
-       "debianExtra"   => "DebianExtra.pl",
+       "DebianExtra"   => "DebianExtra.pl",
        "Dict"          => "Dict.pl",
        "DumpVars"      => "DumpVars.pl",
-       "exchange"      => "Exchange.pl",
-       "factoids"      => "Factoids.pl",
+       "Exchange"      => "Exchange.pl",
+       "Factoids"      => "Factoids.pl",
        "HTTPDtype"     => "HTTPDtype.pl",
        "insult"        => "insult.pl",
        "UserDCC"       => "UserDCC.pl",
-       "kernel"        => "Kernel.pl",
-       "news"          => "News.pl",
+       "Kernel"        => "Kernel.pl",
+       "News"          => "News.pl",
        "nickometer"    => "nickometer.pl",
        "pager"         => "pager.pl",
-       "perlMath"      => "Math.pl",
-       "plug"          => "Plug.pl",
-       "quote"         => "Quote.pl",
-       "rootwarn"      => "RootWarn.pl",
-       "rss"           => "Rss.pl",
-       "search"        => "Search.pl",
-       "slashdot"      => "Slashdot3.pl",
-       "symdump"       => "DumpVars2.pl",
-       "topic"         => "Topic.pl",
-       "units"         => "Units.pl",
-       "uptime"        => "Uptime.pl",
-       "userinfo"      => "UserInfo.pl",
-       "weather"       => "Weather.pl",
-       "whatis"        => "WhatIs.pl",
+       "Math"          => "Math.pl",
+       "Plug"          => "Plug.pl",
+       "Quote"         => "Quote.pl",
+       "RootWarn"      => "RootWarn.pl",
+       "Rss"           => "Rss.pl",
+       "Search"        => "Search.pl",
+       "slashdot"      => "slashdot.pl",
+       "DumpVars2"     => "DumpVars2.pl",
+       "Topic"         => "Topic.pl",
+       "Units"         => "Units.pl",
+       "Uptime"        => "Uptime.pl",
+       "UserInfo"      => "UserInfo.pl",
+       "Weather"       => "Weather.pl",
        "wikipedia"     => "wikipedia.pl",
-       "wingate"       => "Wingate.pl",
+       "Wingate"       => "Wingate.pl",
        "wwwsearch"     => "W3Search.pl",
        "zfi"           => "zfi.pl",
        "zippy"         => "Zippy.pl",
@@ -64,7 +63,7 @@ if ($@) {
 my @myModulesLoadNow;
 my @myModulesReloadNot;
 BEGIN {
-    @myModulesLoadNow  = ('topic', 'uptime', 'news', 'rootWarn', 'symdump', 'botmail');
+    @myModulesLoadNow  = ('Topic', 'Uptime', 'News', 'RootWarn', 'DumpVars2', 'botmail');
     @myModulesReloadNot        = ('IRC/Irc.pl','IRC/Schedulers.pl');
 }
 
@@ -190,9 +189,7 @@ sub loadMyModulesNow {
            next;
        }
 
-       # weird hack to get rootwarn to work.
-       # it may break on other cases though, any ideas?
-       &loadMyModule( $myModules{$_} || $myModules{lc $_} );
+       &loadMyModule($myModules{$_});
        $loaded++;
     }