mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-11 12:32:37 +01:00
Correct use/package paths
This commit is contained in:
parent
a158e4458f
commit
7ce40fca4d
@ -38,8 +38,8 @@ sub initialize {
|
||||
$self->{export_path} = delete $conf{export_quotegrabs_path};
|
||||
$self->{export_site} = delete $conf{export_quotegrabs_site};
|
||||
|
||||
$self->{database} = PBot::Quotegrabs_SQLite->new(pbot => $self->{pbot}, filename => $self->{filename});
|
||||
#$self->{database} = PBot::Quotegrabs_Hashtable->new(pbot => $self->{pbot}, filename => $self->{filename});
|
||||
$self->{database} = PBot::Plugins::Quotegrabs::Quotegrabs_SQLite->new(pbot => $self->{pbot}, filename => $self->{filename});
|
||||
#$self->{database} = PBot::Plugins::Quotegrabs::Quotegrabs_Hashtable->new(pbot => $self->{pbot}, filename => $self->{filename});
|
||||
$self->{database}->begin();
|
||||
|
||||
$self->{pbot}->{atexit}->register(sub { $self->{database}->end(); return; });
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
# Purpose: Hashtable backend for storing and retreiving quotegrabs
|
||||
|
||||
package PBot::Quotegrabs_Hashtable;
|
||||
package PBot::Plugins::Quotegrabs::Quotegrabs_Hashtable;
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
# Purpose: SQLite back-end for storing and retreiving quotegrabs
|
||||
|
||||
package PBot::Quotegrabs_SQLite;
|
||||
package PBot::Plugins::Quotegrabs::Quotegrabs_SQLite;
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
|
Loading…
Reference in New Issue
Block a user