mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 17:38:26 +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:
@@ -21,7 +21,7 @@ void command_databuckets(Client *c, const Seperator *sep)
|
||||
}
|
||||
}
|
||||
if (sep->arg[2]) {
|
||||
key_filter = str_tolower(sep->arg[2]);
|
||||
key_filter = Strings::ToLower(sep->arg[2]);
|
||||
}
|
||||
std::string query = "SELECT `id`, `key`, `value`, `expires` FROM data_buckets";
|
||||
if (!key_filter.empty()) { query += StringFormat(" WHERE `key` LIKE '%%%s%%'", key_filter.c_str()); }
|
||||
@@ -68,7 +68,7 @@ void command_databuckets(Client *c, const Seperator *sep)
|
||||
c->Message(
|
||||
Chat::White,
|
||||
"%s : %s",
|
||||
EQ::SayLinkEngine::GenerateQuestSaylink(del_saylink, false, "Delete").c_str(),
|
||||
Saylink::Create(del_saylink, false, "Delete").c_str(),
|
||||
key.c_str(),
|
||||
" Value: ",
|
||||
value.c_str());
|
||||
|
||||
Reference in New Issue
Block a user