From a68142fad27fc013392c1202bf3407ee83f4acc9 Mon Sep 17 00:00:00 2001 From: dms Date: Tue, 17 Apr 2001 14:03:57 +0000 Subject: [PATCH] forgot to use \d+ for read shortcut other changes that the last commit missed or something git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@444 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Modules/News.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Modules/News.pl b/src/Modules/News.pl index eec78ee..6b5264d 100644 --- a/src/Modules/News.pl +++ b/src/Modules/News.pl @@ -79,7 +79,7 @@ sub Parse { } elsif ($what =~ /^set(\s+(.*))?$/i) { &set($2); - } elsif ($what =~ /^(\d)$/i) { + } elsif ($what =~ /^(\d+)$/i) { &::DEBUG("read shortcut called."); &read($1); -- 2.39.2