mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 19:07:16 +00:00
Fixup 420db4d because I'm an idiot who doesn't build before pushing
This commit is contained in:
parent
420db4d7d0
commit
939ad68ab8
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user