This commit is contained in:
esuo1198
2023-09-24 01:35:01 +09:00
parent db6a0c061b
commit bde65eec20
4 changed files with 26 additions and 23 deletions
+2 -2
View File
@@ -114,9 +114,9 @@ DllMain (HMODULE module, DWORD reason, LPVOID reserved) {
auto configPath = std::filesystem::current_path () / "config.toml";
toml_table_t *config = openConfig (configPath);
if (config) {
auto amauth = openConfigSection(config, "amauth");
auto amauth = openConfigSection (config, "amauth");
if (amauth) {
server = readConfigString(amauth, "server", server);
server = readConfigString (amauth, "server", server);
}
toml_free (config);
}