From 78c4ed35369592515499dd202ef1d441d5e8068b Mon Sep 17 00:00:00 2001 From: dms Date: Tue, 1 Aug 2000 13:41:20 +0000 Subject: [PATCH] userinfo had wrong argument # set git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@24 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/CommandStubs.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CommandStubs.pl b/src/CommandStubs.pl index ed35aa2..60b8ec2 100644 --- a/src/CommandStubs.pl +++ b/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; } -- 2.39.2