X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ab494c1e3eafc27c84c8cf0eb5e5ad8ef37389bc..bdd372a64811c52e2924c6d391ce6801aabc8ada:/include/stg/user_property.h diff --git a/include/stg/user_property.h b/include/stg/user_property.h index f0a6d18e..ade21f4e 100644 --- a/include/stg/user_property.h +++ b/include/stg/user_property.h @@ -363,7 +363,7 @@ std::string filePath = scriptsDir + "/OnChange"; if (access(filePath.c_str(), X_OK) == 0) { std::string execString("\"" + filePath + "\" \"" + login + "\" \"" + paramName + "\" \"" + oldValue + "\" \"" + newValue + "\" \"" + admin->GetLogin() + "\" \"" + admin->GetIPStr() + "\""); - ScriptExec(execString); + ScriptExec(execString.c_str()); } else {