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:
@@ -33,7 +33,7 @@ void command_advnpcspawn(Client *c, const Seperator *sep)
|
||||
return;
|
||||
}
|
||||
|
||||
std::string spawn_command = str_tolower(sep->arg[1]);
|
||||
std::string spawn_command = Strings::ToLower(sep->arg[1]);
|
||||
bool is_add_entry = spawn_command.find("addentry") != std::string::npos;
|
||||
bool is_add_spawn = spawn_command.find("addspawn") != std::string::npos;
|
||||
bool is_clear_box = spawn_command.find("clearbox") != std::string::npos;
|
||||
|
||||
Reference in New Issue
Block a user