]> git.stg.codes - stg.git/blobdiff - include/stg/user_property.h
Hide copy constructor and assignement operator for PLUGIN_CREATOR
[stg.git] / include / stg / user_property.h
index 78e5675a5f9adc453ae5ac13f8c8e06922630477..ade21f4e8024e040dd2d6d13ba393e02e27e8731 100644 (file)
@@ -18,9 +18,9 @@ $Author: faust $
 #include "store.h"
 #include "admin.h"
 #include "notifer.h"
-#include "stg_logger.h"
-#include "stg_locker.h"
-#include "script_executer.h"
+#include "logger.h"
+#include "locker.h"
+#include "scriptexecuter.h"
 #include "noncopyable.h"
 
 extern const volatile time_t stgTime;
@@ -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
     {