3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-02-19 23:10:44 +01:00

Functions: fix help function signature

This commit is contained in:
Pragmatic Software 2024-05-09 16:10:06 -07:00
parent 40aa37bc7c
commit c62b6b9a75
No known key found for this signature in database
GPG Key ID: CC916B6E3C84ECCE
2 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ sub func_list($self, $regex = '.*') {
return $result; return $result;
} }
sub func_help($self, $func) { sub func_help($self, $func = undef) {
if (not length $func) { if (not length $func) {
return "func: invoke built-in functions; usage: func <keyword> [arguments]; to list available functions: func list [regex]"; return "func: invoke built-in functions; usage: func <keyword> [arguments]; to list available functions: func list [regex]";
} }

View File

@ -25,8 +25,8 @@ use PBot::Imports;
# These are set by the /misc/update_version script # These are set by the /misc/update_version script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 4752, BUILD_REVISION => 4753,
BUILD_DATE => "2024-04-29", BUILD_DATE => "2024-05-09",
}; };
sub initialize {} sub initialize {}