X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ffb613dbeaea84a8732e992cdb660a051077995c..fcd197e48a6de7ddae042ac1bd9b26e3226bd41f:/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp?ds=sidebyside diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp index 1d126ae5..4456c372 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp @@ -526,11 +526,10 @@ if (ret) return ret; } //----------------------------------------------------------------------------- -int AUTH_IA::Reload() +int AUTH_IA::Reload(const MODULE_SETTINGS & ms) { AUTH_IA_SETTINGS newIaSettings; -MODULE_SETTINGS newSettings = settings; -if (newIaSettings.ParseSettings(newSettings)) +if (newIaSettings.ParseSettings(ms)) { STG_LOGGER & WriteServLog = GetStgLogger(); printfd(__FILE__, "AUTH_IA::Reload() - Failed to reload InetAccess.\n");