]> git.donarmstrong.com Git - infobot.git/commitdiff
initial weather fixes, needs to use Geo::METAR before it works
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 3 Nov 2002 05:38:22 +0000 (05:38 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 3 Nov 2002 05:38:22 +0000 (05:38 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@596 c11ca15a-4712-0410-83d8-924469b57eb5

src/CommandStubs.pl
src/modules.pl

index 32e1005733da8c0b3312cdd8d5ded63b4f465716..e0c6013d2f44c3dac91272dd9cdcc76a9b36907f 100644 (file)
@@ -120,7 +120,7 @@ sub parseCmdHook {
 
            # check if CODEREF exists.
            if (!defined &{ $hash{'CODEREF'} }) {
-               &WARN("coderef $hash{'CODEREF'} don't exist.");
+               &WARN("coderef $hash{'CODEREF'} does not exist.");
                if (defined $who) {
                    &msg($who, "coderef does not exist for $ident.");
                }
@@ -220,7 +220,7 @@ sub parseCmdHook {
 &addCmdHook("extra", 'verstats', ('CODEREF' => 'do_verstats' ) );
 &addCmdHook("extra", 'weather', ('CODEREF' => 'Weather::Weather',
        'Identifier' => 'weather', 'Help' => 'weather',
-       'Cmdstats' => 'Weather') );
+       'Cmdstats' => 'weather', 'Forker' => 1) );
 &addCmdHook("extra", 'bzflist', ('CODEREF' => 'BZFlag::list',
        'Identifier' => 'bzflag', 'Cmdstats' => 'BZFlag',
        'Forker' => 1) );
index ae2dac531699f771d1b09400cd0852303562b0a0..1f7657113847fb10ef6a44be792045b634dd3cca 100644 (file)
@@ -43,6 +43,7 @@ if ($@) {
        "uptime"        => "Uptime.pl",
        "ircdcc"        => "UserDCC.pl",
        "userinfo"      => "UserInfo.pl",
+       "weather"       => "Weather.pl",
        "wwwsearch"     => "W3Search.pl",
        "whatis"        => "WhatIs.pl",
        "wingate"       => "Wingate.pl",