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:
parent
0a81203cc9
commit
f172563fdc
@ -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
|
||||
|
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user