X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=blootbot%2Fsrc%2Fmodules.pl;h=e66af51b3bb9ac6dbfcb0cc54a779c55c43cdc4c;hb=348d8918caacce3bb9483768c4afb1764b4ca01c;hp=23499495966d02fb337f0e9813888c2a78967770;hpb=22f43d6dcb96b3945210c6893e186dd02c1bd8c3;p=infobot.git diff --git a/blootbot/src/modules.pl b/blootbot/src/modules.pl index 2349949..e66af51 100644 --- a/blootbot/src/modules.pl +++ b/blootbot/src/modules.pl @@ -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++; }