]> git.donarmstrong.com Git - infobot.git/blobdiff - blootbot/src/modules.pl
wingate -> Wingate
[infobot.git] / blootbot / src / modules.pl
index 23499495966d02fb337f0e9813888c2a78967770..e66af51b3bb9ac6dbfcb0cc54a779c55c43cdc4c 100644 (file)
@@ -41,20 +41,19 @@ if ($@) {
        "pager"         => "pager.pl",
        "Math"          => "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",
+       "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++;
     }