diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/gameserver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc index 5d973f1..46cb742 100644 --- a/src/core/gameserver.cc +++ b/src/core/gameserver.cc @@ -131,7 +131,7 @@ Player *GameServer::find_player(std::string const search) return 0; for (std::list<Player *>:: iterator it = players.begin(); it != players.end(); it++) { - if (lowercase((*it)->name()).find(lowercase(search)) != std::string::npos) + if (aux::text_strip_lowercase((*it)->name()).find(lowercase(search)) != std::string::npos) return (*it); } |