3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-29 15:29:32 +01:00

VERSION: Correct URL

This commit is contained in:
Pragmatic Software 2021-07-13 20:13:48 -07:00
parent e3d0e4abcc
commit 5a2cc49100

View File

@ -38,7 +38,7 @@ sub cmd_version {
if (time - $self->{last_check}->{timestamp} >= $ratelimit) {
$self->{last_check}->{timestamp} = time;
my $url = $self->{pbot}->{registry}->get_value('version', 'check_url') // 'https://raw.githubusercontent.com/pragma-/pbot/master/PBot/VERSION.pm';
my $url = $self->{pbot}->{registry}->get_value('version', 'check_url') // 'https://raw.githubusercontent.com/pragma-/pbot/master/lib/PBot/VERSION.pm';
$self->{pbot}->{logger}->log("Checking $url for new version...\n");