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

Refresher: version factoid does not exist any longer

This commit is contained in:
Pragmatic Software 2020-01-30 22:07:54 -08:00
parent 6081ee11e1
commit 1baff41267

View File

@ -62,13 +62,6 @@ sub refresh {
return $@; return $@;
} }
# update version factoid
my $version = $self->{pbot}->{version}->version();
if ($self->{pbot}->{factoids}->{factoids}->{hash}->{'.*'}->{'version'}->{'action'} ne "/say $version") {
$self->{pbot}->{factoids}->{factoids}->{hash}->{'.*'}->{'version'}->{'action'} = "/say $version";
$self->{pbot}->{logger}->log("New version: $version\n");
}
return $result; return $result;
} }