mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/ChatCommands: make ExactSequence more readable
(cherry picked from commit feaaa595ca)
This commit is contained in:
@@ -840,11 +840,6 @@ bool StringEqualI(std::string_view str1, std::string_view str2)
|
||||
});
|
||||
}
|
||||
|
||||
bool StringStartsWith(std::string_view haystack, std::string_view needle)
|
||||
{
|
||||
return (haystack.substr(0, needle.length()) == needle);
|
||||
}
|
||||
|
||||
bool StringContainsStringI(std::string_view haystack, std::string_view needle)
|
||||
{
|
||||
return haystack.end() !=
|
||||
|
||||
Reference in New Issue
Block a user