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