Fixup 420db4d because I'm an idiot who doesn't build before pushing

This commit is contained in:
Charles Dang 2017-03-14 13:50:45 +11:00
parent 420db4d7d0
commit 939ad68ab8

View File

@ -303,8 +303,8 @@ bool lobby_info::has_room(const std::string& name) const
user_info* lobby_info::get_user(const std::string& name)
{
for(const auto& user : users_) {
if(users_.name == name) {
for(auto& user : users_) {
if(user.name == name) {
return &user;
}
}