]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/botmail.pl
* support more dictionaries [dpkg specific]
[infobot.git] / src / Modules / botmail.pl
index 3bfebfdaf2a1b287e95d7a8460c1cd57655a2425..846d611a3487adcbc7bde680e57847005d6abd78 100644 (file)
@@ -3,7 +3,7 @@
 #      Author: dms
 #     Version: v0.1 (20021122).
 #     Created: 20021122
-#       NOTE: Motivated by BZFlag.
+#       NOTE: Motivated by TimRiker.
 #        TODO: full-fledged notes services (optional auth, etc)
 #
 
@@ -19,7 +19,7 @@ sub parse {
        return;
     }
 
-    if ($what =~ /^(for|add)\s+(.*)$/i) {
+    if ($what =~ /^(to|for|add)\s+(.*)$/i) {
        &add( split(/\s+/, $2, 2) );
 
     } elsif ($what =~ /^stats?$/i) {