3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-22 18:52:40 +01:00

Utils/SQLiteLogger: update log() to use subroutine signatures

This commit is contained in:
Pragmatic Software 2024-11-30 16:26:52 -08:00
parent 0a81203cc9
commit f172563fdc
No known key found for this signature in database
GPG Key ID: CC916B6E3C84ECCE
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 {}