diff options
author | Marvin Kopf <marvinkopf@posteo.de> | 2016-02-05 21:27:31 +0100 |
---|---|---|
committer | Marvin Kopf <marvinkopf@posteo.de> | 2016-02-05 21:27:31 +0100 |
commit | 0b826b0e520a6d33357e73cb7bb96ea814d4ba30 (patch) | |
tree | f79e8dec9e7e48da1a017840d96fc48382f183af | |
parent | Correct typo in documentation. (diff) | |
download | cuberite-0b826b0e520a6d33357e73cb7bb96ea814d4ba30.tar cuberite-0b826b0e520a6d33357e73cb7bb96ea814d4ba30.tar.gz cuberite-0b826b0e520a6d33357e73cb7bb96ea814d4ba30.tar.bz2 cuberite-0b826b0e520a6d33357e73cb7bb96ea814d4ba30.tar.lz cuberite-0b826b0e520a6d33357e73cb7bb96ea814d4ba30.tar.xz cuberite-0b826b0e520a6d33357e73cb7bb96ea814d4ba30.tar.zst cuberite-0b826b0e520a6d33357e73cb7bb96ea814d4ba30.zip |
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index 5b6a215d8..127621069 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -3583,7 +3583,7 @@ void cWorld::TabCompleteUserName(const AString & a_Text, AStringVector & a_Resul PlayerName = (*itr)->GetCustomName(); } - AString::size_type Found = PlayerName.find(LastWord); // Try to find last word in playername + AString::size_type Found = StrToLower(PlayerName).find(StrToLower(LastWord)); // Try to find last word in playername if (Found == AString::npos) { continue; // No match |