]> git.donarmstrong.com Git - infobot.git/commitdiff
forgot to use \d+ for read shortcut
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 17 Apr 2001 14:03:57 +0000 (14:03 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 17 Apr 2001 14:03:57 +0000 (14:03 +0000)
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

index eec78eef126ccada312d192390777c4c32813225..6b5264d0d4d8852a09997159e352ce6dc747f0fe 100644 (file)
@@ -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);