diff --git a/lib/PBot/Core/Interpreter.pm b/lib/PBot/Core/Interpreter.pm index b142a62d..9e2e7c37 100644 --- a/lib/PBot/Core/Interpreter.pm +++ b/lib/PBot/Core/Interpreter.pm @@ -152,7 +152,7 @@ sub process_line($self, $from, $nick, $user, $host, $text, $tags = '', $is_comma } elsif ($cmd_text =~ m/^.?\s*$botnick\s*[[:punct:]]?\s+(.+)$/i) { # "botnick: command" $command = $1; - } elsif ($cmd_text =~ m/^(.+?),?\s*$botnick[?!.]*$/i) { + } elsif ($cmd_text =~ m/^(.+?),?\s+$botnick[?!.]*$/i) { # "command, botnick?" $command = $1; } diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 56a675d6..570af9e4 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 => 4676, - BUILD_DATE => "2023-05-14", + BUILD_REVISION => 4678, + BUILD_DATE => "2023-05-21", }; sub initialize {}