]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/rscript/rscript.cpp
Initialise 'user' field in RS_USER's constructor
[stg.git] / projects / stargazer / plugins / other / rscript / rscript.cpp
index 1cc7883b3e1a2b26acfed3938d7544f85eda9341..b03235d8be5f178710a0f90d6b88aecb54aa760a 100644 (file)
@@ -36,7 +36,7 @@
 #include "ur_functor.h"
 #include "send_functor.h"
 #include "stg_locker.h"
-#include "../../../user_property.h"
+#include "user_property.h"
 
 extern volatile const time_t stgTime;
 
@@ -81,6 +81,7 @@ return rsc.GetPlugin();
 //-----------------------------------------------------------------------------
 RS_USER::RS_USER()
     : lastSentTime(0),
+      user(NULL),
       shortPacketsCount(0)
 {
 }