mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 22:06:46 +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:
@@ -37,7 +37,7 @@ void command_ban(Client *c, const Seperator *sep)
|
||||
|
||||
auto query = fmt::format(
|
||||
"UPDATE account SET status = -2, ban_reason = '{}' WHERE id = {}",
|
||||
EscapeString(reason),
|
||||
Strings::Escape(reason),
|
||||
account_id
|
||||
);
|
||||
auto results = database.QueryDatabase(query);
|
||||
|
||||
Reference in New Issue
Block a user