3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 20:09:43 +01:00

VERSION: remove parentheses around date in version check

This commit is contained in:
Pragmatic Software 2020-01-19 20:02:29 -08:00
parent a0dd5728a3
commit 5a2f57494b

View File

@ -56,7 +56,7 @@ sub version_cmd {
my ($version, $date) = $text =~ m/^\s+BUILD_REVISION => (\d+).*^\s+BUILD_DATE\s+=> "([^"]+)"/ms;
if ($version != BUILD_REVISION) {
return "/say " . $self->version . "; new version available: $version ($date)!";
return "/say " . $self->version . "; new version available: $version $date!";
} else {
return "/say " . $self->version . "; you have the latest version.";
}