[General] Change list players to vector players

0.6.1
Koncord 8 years ago
parent 3e00d42067
commit 6e8750b9e4

@ -68,7 +68,7 @@ struct QueryData
int GetPassword() { return rules["passw"].val; }
std::list<std::string> players;
std::vector<std::string> players;
std::map<std::string, ServerRule> rules;
std::vector<Plugin> plugins;
};

@ -61,7 +61,7 @@ namespace mwmp
ruleIt++;
}
list<string>::iterator plIt;
vector<string>::iterator plIt;
if (send)
plIt = server.players.begin();

Loading…
Cancel
Save