Skip to content

Commit

Permalink
config: fix ip loading bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ashquarky committed Feb 26, 2021
1 parent 5f2b2e4 commit b5dd39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void Config::LoadINI(std::basic_istream<char>& is) {
bool ret = false;

if (!ini.sections["3ds"]["ip"].empty()) {
this->networkconfig.host = ini.sections["3ds"]["host"];
this->networkconfig.host = ini.sections["3ds"]["ip"];
}
if (!ini.sections["3ds"]["priority"].empty()) {
this->networkconfig.priority = std::stoi(ini.sections["3ds"]["priority"]);
Expand Down

0 comments on commit b5dd39f

Please sign in to comment.