From 4b5e3d0d4132a5047706022a56c3cf2c1c543d53 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Tue, 5 Mar 2024 21:01:32 -0800 Subject: [PATCH] Plugin/Battleship: fix show_battlefield() sub signature --- lib/PBot/Plugin/Battleship.pm | 2 +- lib/PBot/VERSION.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/PBot/Plugin/Battleship.pm b/lib/PBot/Plugin/Battleship.pm index e42f8eb0..4c709f80 100644 --- a/lib/PBot/Plugin/Battleship.pm +++ b/lib/PBot/Plugin/Battleship.pm @@ -970,7 +970,7 @@ sub show_scoreboard($self) { } } -sub show_battlefield($self, $player_index, $nick) { +sub show_battlefield($self, $player_index, $nick = undef) { $self->{pbot}->{logger}->log("Showing battlefield for player $player_index\n"); my $player; diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index c576d65e..c040f502 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 => 4703, - BUILD_DATE => "2024-02-22", + BUILD_REVISION => 4704, + BUILD_DATE => "2024-03-05", }; sub initialize {}