3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 09:58:42 +02:00

SQLiteLogger: set pbot object in class

This commit is contained in:
Pragmatic Software 2020-02-19 15:09:41 -08:00
parent 108f61d40e
commit 36579b02fe

View File

@ -20,6 +20,7 @@ sub new {
my $self = {}; my $self = {};
$self->{buf} = ''; $self->{buf} = '';
$self->{timestamp} = gettimeofday; $self->{timestamp} = gettimeofday;
$self->{pbot} = $conf{pbot};
return bless $self, $class; return bless $self, $class;
} }