Skip to content

Commit b5dd39f

Browse files
committed
config: fix ip loading bug
1 parent 5f2b2e4 commit b5dd39f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/Config.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void Config::LoadINI(std::basic_istream<char>& is) {
7676
bool ret = false;
7777

7878
if (!ini.sections["3ds"]["ip"].empty()) {
79-
this->networkconfig.host = ini.sections["3ds"]["host"];
79+
this->networkconfig.host = ini.sections["3ds"]["ip"];
8080
}
8181
if (!ini.sections["3ds"]["priority"].empty()) {
8282
this->networkconfig.priority = std::stoi(ini.sections["3ds"]["priority"]);

0 commit comments

Comments
 (0)