X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FModules%2Fbotmail.pl;h=846d611a3487adcbc7bde680e57847005d6abd78;hb=2a2ba88d9af9deb524f844fd2939bd32b2dc2b08;hp=3bfebfdaf2a1b287e95d7a8460c1cd57655a2425;hpb=da850dea23959d29fb5c332cb94e714b162e9038;p=infobot.git diff --git a/src/Modules/botmail.pl b/src/Modules/botmail.pl index 3bfebfd..846d611 100644 --- a/src/Modules/botmail.pl +++ b/src/Modules/botmail.pl @@ -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) {