summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-02-05 21:42:20 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-02-05 21:42:20 +0100
commit87a31e3a2d18c6c774c4c9c2b3286e734c0707f9 (patch)
treee484a653ae464664ef85f7e00a30e3d1f3b3029b
parentMerge pull request #2954 from kevinr/implement-acacia-block-height (diff)
parentTab completion for player names now case insensitive. (diff)
downloadcuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar
cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar.gz
cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar.bz2
cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar.lz
cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar.xz
cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.tar.zst
cuberite-87a31e3a2d18c6c774c4c9c2b3286e734c0707f9.zip
-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