3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-01-22 18:14:48 +01:00

Utils/ParseDate: Clean up error message

This commit is contained in:
Pragmatic Software 2020-09-28 19:26:17 -07:00
parent 52beb45654
commit f504a5e2ff

View File

@ -108,7 +108,7 @@ sub parsedate {
# If there's still an error, it's bad input # If there's still an error, it's bad input
if ($@) { if ($@) {
$@ =~ s/ ${override}from now at PBot.*$//; $@ =~ s/ ${override}from now at .*$//;
return (0, $@); return (0, $@);
} }
} }