mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Strings] Refactor Strings Usage (#2305)
* Initial commit checkpoint * More functions converted * Commify * More functions * Fin * Sort declarations * Split functions between files * Bots * Update strings.h * Split * Revert find replaces * Repository template * Money * Misc function * Update CMakeLists.txt * Saylink * Update strings.cpp * Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database * API casings
This commit is contained in:
@@ -1029,7 +1029,7 @@ void SharedTaskManager::InvitePlayerByPlayerName(SharedTask *s, const std::strin
|
||||
{
|
||||
auto character = CharacterDataRepository::GetWhere(
|
||||
*m_database,
|
||||
fmt::format("`name` = '{}' LIMIT 1", EscapeString(player_name))
|
||||
fmt::format("`name` = '{}' LIMIT 1", Strings::Escape(player_name))
|
||||
);
|
||||
|
||||
auto character_id = !character.empty() ? character.front().id : 0;
|
||||
|
||||
Reference in New Issue
Block a user