3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02: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 $@;
}
# 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;
}