Skip to content

Commit

Permalink
Add underscore.
Browse files Browse the repository at this point in the history
Both cfg and cfg_ refer to the same thing, which is why it works anyway, but it's still a typo.
  • Loading branch information
Pentarctagon committed Jan 8, 2021
1 parent dbf9d35 commit 8b3498e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/wesnothd/player.cpp
Expand Up @@ -34,7 +34,7 @@ wesnothd::player::player(const std::string& n, simple_wml::node& cfg, int id,
cfg_.set_attr_dup("name", n.c_str());
cfg_.set_attr("registered", registered ? "yes" : "no");
cfg_.set_attr("moderator", moderator ? "yes" : "no");
cfg.set_attr_int("forum_id", id);
cfg_.set_attr_int("forum_id", id);
mark_available();
}

Expand Down

0 comments on commit 8b3498e

Please sign in to comment.