1
0

fixed naming of strings and changed from i to I

This commit is contained in:
Vincent
2014-11-29 11:22:03 -08:00
parent 61e761fdc2
commit a7bf2725c8
5 changed files with 18 additions and 13 deletions

View File

@@ -304,13 +304,13 @@ int cServer::GetNumPlayers(void) const
std::list<std::string> cServer::GetUsernames()
std::list<AString> cServer::GetUsernames()
{
std::list<std::string> usernames;
std::list<AString> usernames;
cCSLock Lock(m_CSClients);
for (ClientList::iterator itr = m_Clients.begin(); itr != m_Clients.end(); ++itr)
{
std::string username = (*itr)->GetUsername();
AString username = (*itr)->GetUsername();
usernames.insert(usernames.begin(),username);
}
return usernames;