From: dms Date: Tue, 17 Apr 2001 14:03:57 +0000 (+0000) Subject: forgot to use \d+ for read shortcut X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a68142fad27fc013392c1202bf3407ee83f4acc9;p=infobot.git 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 --- 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);