mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 04:28:00 +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:
@@ -18,7 +18,7 @@ void command_faction(Client *c, const Seperator *sep)
|
||||
|
||||
std::string faction_filter;
|
||||
if (sep->arg[2]) {
|
||||
faction_filter = str_tolower(sep->arg[2]);
|
||||
faction_filter = Strings::ToLower(sep->arg[2]);
|
||||
}
|
||||
|
||||
if (!strcasecmp(sep->arg[1], "review")) {
|
||||
@@ -56,7 +56,7 @@ void command_faction(Client *c, const Seperator *sep)
|
||||
auto faction_id = std::stoul(row[0]);
|
||||
std::string faction_name = row[1];
|
||||
std::string faction_value = row[2];
|
||||
std::string reset_link = EQ::SayLinkEngine::GenerateQuestSaylink(
|
||||
std::string reset_link = Saylink::Create(
|
||||
fmt::format("#faction reset {}", faction_id),
|
||||
false,
|
||||
"Reset"
|
||||
|
||||
Reference in New Issue
Block a user