]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/News.pl
forgot to use \d+ for read shortcut
[infobot.git] / 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);