]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.cpp
Users container changed from vector to list
[stg.git] / projects / stargazer / user_impl.cpp
index 8d648d4f5cb8b1492f69281022ab2923ed879115..d89bbe47a796bc9180371b840685a2bb82997e4e 100644 (file)
@@ -40,7 +40,7 @@
 
 #include "stg/users.h"
 #include "stg/common.h"
-#include "stg/script_executer.h"
+#include "stg/scriptexecuter.h"
 #include "stg/tariff.h"
 #include "stg/tariffs.h"
 #include "stg/admin.h"
@@ -628,7 +628,7 @@ if (!authorizedBy.empty())
     {
     if (connected)
         {
-        lastActivityTime = *const_cast<time_t *>(&stgTime);
+        property.Stat().lastActivityTime = stgTime;
         }
     if (!connected && IsInetable())
         {