From a7fc9bc8c3b9b802afb076200703d66e982a78b5 Mon Sep 17 00:00:00 2001 From: dinomking33 <38479763+TAHuntling@users.noreply.github.com> Date: Tue, 21 May 2024 16:49:27 -0500 Subject: [PATCH] Update SlashCommandHandler.cpp --- dGame/dUtilities/SlashCommandHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dGame/dUtilities/SlashCommandHandler.cpp b/dGame/dUtilities/SlashCommandHandler.cpp index 98fa2b9e..7d0ba887 100644 --- a/dGame/dUtilities/SlashCommandHandler.cpp +++ b/dGame/dUtilities/SlashCommandHandler.cpp @@ -79,7 +79,7 @@ void GMZeroCommands::Help(Entity* entity, const SystemAddress& sysAddr, const st trimmedArgs.erase(trimmedArgs.begin(), std::find_if_not(trimmedArgs.begin(), trimmedArgs.end(), [](unsigned char ch) { return std::isspace(ch); })); - std::optional parsedPage = GeneralUtils::TryParse(trimmedArgs); + std::optional parsedPage = GeneralUtils::TryParse(trimmedArgs); if (trimmedArgs.empty() || parsedPage.has_value()) { size_t page = parsedPage.value_or(1);