mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 11:42:35 +01:00
Refresher: version
factoid does not exist any longer
This commit is contained in:
parent
6081ee11e1
commit
1baff41267
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user