Make emote search case insensetive (emotes themself still are case sensetive)
This commit is contained in:
parent
945b5da5a3
commit
c56d0c8c73
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ emote_t *M_FindEmote(const char *name, int len, int skip)
|
|||
|
||||
for (auto &pair: emotes)
|
||||
{
|
||||
if (pair.first.rfind(query) == std::string::npos)
|
||||
if (strcasestr(pair.first.c_str(), query) == NULL)
|
||||
continue;
|
||||
|
||||
if (skip > 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue