mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-20 02:49:49 +01:00
SQLiteLogger: set pbot object in class
This commit is contained in:
parent
108f61d40e
commit
36579b02fe
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user