diff --git a/lib/PBot/Core/Commands/MessageHistory.pm b/lib/PBot/Core/Commands/MessageHistory.pm index 2ddfe5ab..65850cfb 100644 --- a/lib/PBot/Core/Commands/MessageHistory.pm +++ b/lib/PBot/Core/Commands/MessageHistory.pm @@ -266,10 +266,12 @@ sub cmd_recall_message { if (not $channel_arg) { $recall_channel = "@$opt_args" if @$opt_args; } else { - if (defined $recall_history) { - $recall_history .= ' '; + if (@$opt_args) { + if (defined $recall_history) { + $recall_history .= ' '; + } + $recall_history .= "@$opt_args"; } - $recall_history .= "@$opt_args" if @$opt_args; } if (defined $recall_text and not defined $recall_history) { diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index ea40f276..f5c779ba 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 => 4623, - BUILD_DATE => "2023-02-23", + BUILD_REVISION => 4624, + BUILD_DATE => "2023-02-24", }; sub initialize {}