From ba43c0e5657565ea4070956ee1dc9de4e2c23131 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 30 Mar 2026 00:04:33 +0200 Subject: [PATCH] Core/Commands: Fix copypaste --- src/server/game/Chat/ChatCommands/ChatCommandArgs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Chat/ChatCommands/ChatCommandArgs.cpp b/src/server/game/Chat/ChatCommands/ChatCommandArgs.cpp index c25002e2ec..cdd2345ba7 100644 --- a/src/server/game/Chat/ChatCommands/ChatCommandArgs.cpp +++ b/src/server/game/Chat/ChatCommands/ChatCommandArgs.cpp @@ -46,7 +46,7 @@ void Trinity::Impl::ChatCommands::EnumArgInfoBase::AddSearchMapEntry(SearchMap& if (title != constant) { auto titleIt = std::ranges::lower_bound(map, title, compare, Containers::MapKey); - if (constantIt == map.end() || compare(title, titleIt->first)) + if (titleIt == map.end() || compare(title, titleIt->first)) map.emplace(titleIt, title, val); // not unique else titleIt->second = std::nullopt;