From f172563fdc65d630863e74d83c1164d53e9530a4 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 30 Nov 2024 16:26:52 -0800 Subject: [PATCH] Utils/SQLiteLogger: update log() to use subroutine signatures --- lib/PBot/Core/Utils/SQLiteLogger.pm | 4 ++-- lib/PBot/VERSION.pm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/PBot/Core/Utils/SQLiteLogger.pm b/lib/PBot/Core/Utils/SQLiteLogger.pm index 8b61679f..3961e418 100644 --- a/lib/PBot/Core/Utils/SQLiteLogger.pm +++ b/lib/PBot/Core/Utils/SQLiteLogger.pm @@ -22,8 +22,8 @@ sub new($class, %args) { return bless $self, $class; } -sub log($self) { - $self->{buf} .= shift; +sub log($self, $chunk) { + $self->{buf} .= $chunk; # DBI feeds us pieces at a time, so accumulate a complete line # before outputing diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 93ff49a0..5efa4766 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,8 +25,8 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4861, - BUILD_DATE => "2024-11-27", + BUILD_REVISION => 4863, + BUILD_DATE => "2024-11-30", }; sub initialize {}