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:
parent
74401977e1
commit
c7bb4b51cd
@ -13,7 +13,7 @@ package PBot::Plugin::Spinach;
|
||||
use parent 'PBot::Plugin::Base';
|
||||
|
||||
use PBot::Imports;
|
||||
use PBot::Storage::HashObject;
|
||||
use PBot::Core::Storage::HashObject;
|
||||
|
||||
use PBot::Plugin::Spinach::Stats;
|
||||
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->{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->set_metadata_defaults;
|
||||
|
||||
|
@ -25,8 +25,8 @@ use PBot::Imports;
|
||||
# These are set by the /misc/update_version script
|
||||
use constant {
|
||||
BUILD_NAME => "PBot",
|
||||
BUILD_REVISION => 4384,
|
||||
BUILD_DATE => "2021-09-10",
|
||||
BUILD_REVISION => 4385,
|
||||
BUILD_DATE => "2021-09-12",
|
||||
};
|
||||
|
||||
sub initialize {}
|
||||
|
Loading…
Reference in New Issue
Block a user