mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-11 12:32:37 +01:00
Commands: remove "metadata" from name of HashObject
This commit is contained in:
parent
aadc9c00d8
commit
6eeec3b26c
@ -35,7 +35,7 @@ sub initialize {
|
||||
$self->SUPER::initialize(%conf);
|
||||
$self->{pbot} = $conf{pbot} // Carp::croak("Missing pbot reference to " . __FILE__);
|
||||
|
||||
$self->{metadata} = PBot::HashObject->new(pbot => $self->{pbot}, name => 'Commands metadata', filename => $conf{filename});
|
||||
$self->{metadata} = PBot::HashObject->new(pbot => $self->{pbot}, name => 'Commands', filename => $conf{filename});
|
||||
$self->load_metadata;
|
||||
|
||||
$self->register(sub { $self->set(@_); }, "cmdset", 90);
|
||||
|
Loading…
Reference in New Issue
Block a user