]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.cpp
Fix path to docs in make.sh
[stg.git] / projects / stargazer / user_impl.cpp
index 3f00f37174a0a8fc83599c2336768841d6917647..7f2d5e0b27fed20327d59b28f513b3c97ce15377 100644 (file)
@@ -628,7 +628,7 @@ if (!authorizedBy.empty())
     {
     if (connected)
         {
-        lastActivityTime = *const_cast<time_t *>(&stgTime);
+        property.Stat().lastActivityTime = stgTime;
         }
     if (!connected && IsInetable())
         {
@@ -1281,6 +1281,10 @@ while (it != messages.end())
             ++it;
             }
         }
+    else
+        {
+        ++it;
+        }
     }
 }
 //-----------------------------------------------------------------------------