]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/modules.pl
what what whatis?
[infobot.git] / blootbot / src / modules.pl
index 27eb521ec2879070f097722eda9ef87af1a49735..73bed3a7ef9e649f3d05effcb7095f7333664acd 100644 (file)
@@ -39,20 +39,19 @@ if ($@) {
        "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",
        "wwwsearch"     => "W3Search.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++;
     }