summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarvin Kopf <marvinkopf@posteo.de>2016-02-05 21:27:31 +0100
committerMarvin Kopf <marvinkopf@posteo.de>2016-02-05 21:27:31 +0100
commit0b826b0e520a6d33357e73cb7bb96ea814d4ba30 (patch)
treef79e8dec9e7e48da1a017840d96fc48382f183af /src
parentCorrect typo in documentation. (diff)
downloadcuberite-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
Diffstat (limited to 'src')
-rw-r--r--src/World.cpp2
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