]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.h
Added const version of GetPointer.
[stg.git] / projects / stargazer / user_impl.h
index 90ae01b96669043dfd2a1facf3afa9e0f88668d7..5b51fc5d040f4441c80d2b2ef124e5efe6c19d6d 100644 (file)
@@ -218,7 +218,7 @@ public:
     void            ProcessDailyFee();
 
     bool            IsInetable();
     void            ProcessDailyFee();
 
     bool            IsInetable();
-    std::string     GetEnabledDirs();
+    std::string     GetEnabledDirs() const;
 
     void            OnAdd();
     void            OnDelete();
 
     void            OnAdd();
     void            OnDelete();
@@ -247,7 +247,6 @@ private:
     int             id;
     bool            __connected;
     USER_PROPERTY<bool> connected;
     int             id;
     bool            __connected;
     USER_PROPERTY<bool> connected;
-    std::string     lastDisconnectReason;
 
     bool            enabledDirs[DIR_NUM];
 
 
     bool            enabledDirs[DIR_NUM];