diff options
Diffstat (limited to 'source/cWorld.cpp')
-rw-r--r-- | source/cWorld.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index c2a943493..f904d8ceb 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -1534,7 +1534,7 @@ bool cWorld::DoWithPlayer(const AString & a_PlayerName, cPlayerListCallback & a_ cCSLock Lock(m_CSPlayers); for (cPlayerList::iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr) { - if ((*itr)->GetName() == a_PlayerName) + if (iequals((*itr)->GetName(), a_PlayerName)) { a_Callback.Item(*itr); return true; |