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:
parent
52beb45654
commit
f504a5e2ff
@ -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, $@);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user