From c62b6b9a755bbb3a3615c791bf3efb7da20f5cfb Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 9 May 2024 16:10:06 -0700 Subject: [PATCH] Functions: fix `help` function signature --- lib/PBot/Core/Functions.pm | 2 +- lib/PBot/VERSION.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/PBot/Core/Functions.pm b/lib/PBot/Core/Functions.pm index 75e721a6..8d5ee198 100644 --- a/lib/PBot/Core/Functions.pm +++ b/lib/PBot/Core/Functions.pm @@ -86,7 +86,7 @@ sub func_list($self, $regex = '.*') { return $result; } -sub func_help($self, $func) { +sub func_help($self, $func = undef) { if (not length $func) { return "func: invoke built-in functions; usage: func [arguments]; to list available functions: func list [regex]"; } diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 708c924a..345be871 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 => 4752, - BUILD_DATE => "2024-04-29", + BUILD_REVISION => 4753, + BUILD_DATE => "2024-05-09", }; sub initialize {}