From: dms Date: Tue, 1 Aug 2000 13:41:20 +0000 (+0000) Subject: userinfo had wrong argument # set X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=76f3ad5b0995b61910c6979cd644550719890ecd;p=infobot.git userinfo had wrong argument # set git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@24 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/CommandStubs.pl b/blootbot/src/CommandStubs.pl index ed35aa2..60b8ec2 100644 --- a/blootbot/src/CommandStubs.pl +++ b/blootbot/src/CommandStubs.pl @@ -540,13 +540,13 @@ sub Modules { } # User Information Services. requested by Flugh. - if ($message =~ /^uinfo(\s+(.*))?$/i) { + if ($message =~ /^u(ser)?info(\s+(.*))?$/i) { return $noreply unless (&hasParam("userinfo")); &loadMyModule($myModules{'userinfo'}); - my $arg = $1; + my $arg = $3; if (!defined $arg or $arg eq "") { - &help("uinfo"); + &help("userinfo"); return $noreply; }