From 36579b02fec7b5469a807e113bd5132fa703f077 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Wed, 19 Feb 2020 15:09:41 -0800 Subject: [PATCH] SQLiteLogger: set pbot object in class --- PBot/SQLiteLogger.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PBot/SQLiteLogger.pm b/PBot/SQLiteLogger.pm index 3021d017..a2e744db 100644 --- a/PBot/SQLiteLogger.pm +++ b/PBot/SQLiteLogger.pm @@ -20,6 +20,7 @@ sub new { my $self = {}; $self->{buf} = ''; $self->{timestamp} = gettimeofday; + $self->{pbot} = $conf{pbot}; return bless $self, $class; }