]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.cpp
PROG variavle removed from library's Makefiles
[stg.git] / projects / stargazer / user_impl.cpp
index d720ffe50f18b3a623099994b4add849f18675dc..d89bbe47a796bc9180371b840685a2bb82997e4e 100644 (file)
 #include <cassert>
 #include <cstdlib>
 
 #include <cassert>
 #include <cstdlib>
 
+#include "stg/users.h"
+#include "stg/common.h"
+#include "stg/scriptexecuter.h"
+#include "stg/tariff.h"
+#include "stg/tariffs.h"
+#include "stg/admin.h"
 #include "user_impl.h"
 #include "user_impl.h"
-#include "users.h"
-#include "common.h"
 #include "settings_impl.h"
 #include "settings_impl.h"
-#include "script_executer.h"
-#include "tariff.h"
-#include "tariffs.h"
-#include "admin.h"
 
 USER_IMPL::USER_IMPL(const SETTINGS_IMPL * s,
            const STORE * st,
 
 USER_IMPL::USER_IMPL(const SETTINGS_IMPL * s,
            const STORE * st,
@@ -628,7 +628,7 @@ if (!authorizedBy.empty())
     {
     if (connected)
         {
     {
     if (connected)
         {
-        lastActivityTime = *const_cast<time_t *>(&stgTime);
+        property.Stat().lastActivityTime = stgTime;
         }
     if (!connected && IsInetable())
         {
         }
     if (!connected && IsInetable())
         {