From 7ce40fca4da45ee73ca816112b42dfd2d80784a4 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Wed, 9 Sep 2015 05:24:16 -0700 Subject: [PATCH] Correct use/package paths --- PBot/Plugins/Quotegrabs.pm | 4 ++-- PBot/Plugins/Quotegrabs/Quotegrabs_Hashtable.pm | 2 +- PBot/Plugins/Quotegrabs/Quotegrabs_SQLite.pm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PBot/Plugins/Quotegrabs.pm b/PBot/Plugins/Quotegrabs.pm index 0d915364..8169e35b 100644 --- a/PBot/Plugins/Quotegrabs.pm +++ b/PBot/Plugins/Quotegrabs.pm @@ -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; }); diff --git a/PBot/Plugins/Quotegrabs/Quotegrabs_Hashtable.pm b/PBot/Plugins/Quotegrabs/Quotegrabs_Hashtable.pm index b11cc938..d3b23d92 100644 --- a/PBot/Plugins/Quotegrabs/Quotegrabs_Hashtable.pm +++ b/PBot/Plugins/Quotegrabs/Quotegrabs_Hashtable.pm @@ -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; diff --git a/PBot/Plugins/Quotegrabs/Quotegrabs_SQLite.pm b/PBot/Plugins/Quotegrabs/Quotegrabs_SQLite.pm index 2c095e32..9c449864 100644 --- a/PBot/Plugins/Quotegrabs/Quotegrabs_SQLite.pm +++ b/PBot/Plugins/Quotegrabs/Quotegrabs_SQLite.pm @@ -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;