mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 15:57:58 +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:
@@ -22,7 +22,7 @@ void command_raidloot(Client *c, const Seperator *sep)
|
||||
return;
|
||||
}
|
||||
|
||||
std::string raid_loot_type = str_tolower(sep->arg[1]);
|
||||
std::string raid_loot_type = Strings::ToLower(sep->arg[1]);
|
||||
bool is_all = raid_loot_type.find("all") != std::string::npos;
|
||||
bool is_group_leader = raid_loot_type.find("groupleader") != std::string::npos;
|
||||
bool is_raid_leader = raid_loot_type.find("raidleader") != std::string::npos;
|
||||
|
||||
Reference in New Issue
Block a user