]> git.donarmstrong.com Git - infobot.git/blobdiff - src/CommandStubs.pl
uptime -> Uptime
[infobot.git] / src / CommandStubs.pl
index b230798d595c8b9439e361d1712a4f334b65802f..7bf0fce0a933f5fdcca28192870a2e3a53967f21 100644 (file)
@@ -200,7 +200,7 @@ sub parseCmdHook {
 &addCmdHook("extra", 'lart', ('CODEREF' => 'lart',
        'Identifier' => 'lart', 'Help' => 'lart') );
 &addCmdHook("extra", 'convert', ('CODEREF' => 'convert',
-       'Forker' => 1, 'Identifier' => 'units',
+       'Forker' => 1, 'Identifier' => 'Units',
        'Help' => 'convert') );
 &addCmdHook("extra", '(cookie|random)', ('CODEREF' => 'cookie',
        'Forker' => 1, 'Identifier' => 'Factoids') );
@@ -216,11 +216,11 @@ sub parseCmdHook {
        'Forker' => 1, 'Cmdstats' => 'Dict') );
 &addCmdHook("extra", 'slashdot', ('CODEREF' => 'Slashdot::Slashdot',
        'Identifier' => 'slashdot', 'Forker' => 1,
-       'Cmdstats' => 'Slashdot') );
+       'Cmdstats' => 'slashdot') );
 &addCmdHook("extra", 'Plug', ('CODEREF' => 'Plug::Plug',
        'Identifier' => 'Plug', 'Forker' => 1,
        'Cmdstats' => 'Plug') );
-&addCmdHook("extra", 'uptime', ('CODEREF' => 'uptime', 'Identifier' => 'uptime',
+&addCmdHook("extra", 'Uptime', ('CODEREF' => 'uptime', 'Identifier' => 'Uptime',
        'Cmdstats' => 'Uptime') );
 &addCmdHook("extra", 'nullski', ('CODEREF' => 'nullski', ) );
 &addCmdHook("extra", 'verstats', ('CODEREF' => 'do_verstats' ) );
@@ -410,7 +410,7 @@ sub Modules {
     # Topic management. xk++
     # may want to add a userflags for topic. -xk
     if ($message =~ /^topic(\s+(.*))?$/i) {
-       return unless (&hasParam("topic"));
+       return unless (&hasParam('Topic'));
 
        my $chan        = $talkchannel;
        my @args        = split / /, $2 || "";
@@ -449,7 +449,7 @@ sub Modules {
        }
 
        # now lets do it.
-       &loadMyModule($myModules{'topic'});
+       &loadMyModule($myModules{'Topic'});
        &Topic($chan, $thiscmd, join(' ', @args));
        $cmdstats{'Topic'}++;
        return;