From 76f3ad5b0995b61910c6979cd644550719890ecd Mon Sep 17 00:00:00 2001
From: dms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
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@24 c11ca15a-4712-0410-83d8-924469b57eb5
---
 blootbot/src/CommandStubs.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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;
 	}
 
-- 
2.39.5