]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp
Ticket 26. The const MODULE_SETTINGS & ms parameter added to the
[stg.git] / projects / stargazer / plugins / authorization / inetaccess / inetaccess.cpp
index 1d126ae55a0ff8e2425b6cb0ad143882815f0f0f..4456c372df3d82e25620e9f6c0f7dd4feafb748f 100644 (file)
@@ -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");