3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-20 02:49:49 +01:00

Correct use/package paths

This commit is contained in:
Pragmatic Software 2015-09-09 05:24:16 -07:00
parent a158e4458f
commit 7ce40fca4d
3 changed files with 4 additions and 4 deletions

View File

@ -38,8 +38,8 @@ sub initialize {
$self->{export_path} = delete $conf{export_quotegrabs_path}; $self->{export_path} = delete $conf{export_quotegrabs_path};
$self->{export_site} = delete $conf{export_quotegrabs_site}; $self->{export_site} = delete $conf{export_quotegrabs_site};
$self->{database} = PBot::Quotegrabs_SQLite->new(pbot => $self->{pbot}, filename => $self->{filename}); $self->{database} = PBot::Plugins::Quotegrabs::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_Hashtable->new(pbot => $self->{pbot}, filename => $self->{filename});
$self->{database}->begin(); $self->{database}->begin();
$self->{pbot}->{atexit}->register(sub { $self->{database}->end(); return; }); $self->{pbot}->{atexit}->register(sub { $self->{database}->end(); return; });

View File

@ -3,7 +3,7 @@
# #
# Purpose: Hashtable backend for storing and retreiving quotegrabs # Purpose: Hashtable backend for storing and retreiving quotegrabs
package PBot::Quotegrabs_Hashtable; package PBot::Plugins::Quotegrabs::Quotegrabs_Hashtable;
use warnings; use warnings;
use strict; use strict;

View File

@ -3,7 +3,7 @@
# #
# Purpose: SQLite back-end for storing and retreiving quotegrabs # Purpose: SQLite back-end for storing and retreiving quotegrabs
package PBot::Quotegrabs_SQLite; package PBot::Plugins::Quotegrabs::Quotegrabs_SQLite;
use warnings; use warnings;
use strict; use strict;