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

Plugin/Spinach: fix path to Storage::HashObject

This commit is contained in:
Pragmatic Software 2021-09-12 11:11:44 -07:00
parent 74401977e1
commit c7bb4b51cd
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ package PBot::Plugin::Spinach;
use parent 'PBot::Plugin::Base'; use parent 'PBot::Plugin::Base';
use PBot::Imports; use PBot::Imports;
use PBot::Storage::HashObject; use PBot::Core::Storage::HashObject;
use PBot::Plugin::Spinach::Stats; use PBot::Plugin::Spinach::Stats;
use PBot::Plugin::Spinach::Rank; use PBot::Plugin::Spinach::Rank;
@ -56,7 +56,7 @@ sub initialize {
$self->{metadata_filename} = $self->{pbot}->{registry}->get_value('general', 'data_dir') . '/spinach/metadata'; $self->{metadata_filename} = $self->{pbot}->{registry}->get_value('general', 'data_dir') . '/spinach/metadata';
$self->{stats_filename} = $self->{pbot}->{registry}->get_value('general', 'data_dir') . '/spinach/stats.sqlite'; $self->{stats_filename} = $self->{pbot}->{registry}->get_value('general', 'data_dir') . '/spinach/stats.sqlite';
$self->{metadata} = PBot::Storage::HashObject->new(pbot => $self->{pbot}, name => 'Spinach Metadata', filename => $self->{metadata_filename}); $self->{metadata} = PBot::Core::Storage::HashObject->new(pbot => $self->{pbot}, name => 'Spinach Metadata', filename => $self->{metadata_filename});
$self->{metadata}->load; $self->{metadata}->load;
$self->set_metadata_defaults; $self->set_metadata_defaults;

View File

@ -25,8 +25,8 @@ use PBot::Imports;
# These are set by the /misc/update_version script # These are set by the /misc/update_version script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 4384, BUILD_REVISION => 4385,
BUILD_DATE => "2021-09-10", BUILD_DATE => "2021-09-12",
}; };
sub initialize {} sub initialize {}