X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b4e18f8f29d35f891cfd872638e27c8cf70b52c3..1346670131134bfcb44cffe8bcbcc6e8d762980f:/projects/stargazer/plugins/other/ping/ping.h?ds=inline diff --git a/projects/stargazer/plugins/other/ping/ping.h b/projects/stargazer/plugins/other/ping/ping.h index 2f4791a1..ea18703f 100644 --- a/projects/stargazer/plugins/other/ping/ping.h +++ b/projects/stargazer/plugins/other/ping/ping.h @@ -29,7 +29,7 @@ class CHG_CURRIP_NOTIFIER_PING: public PROPERTY_NOTIFIER_BASE public: CHG_CURRIP_NOTIFIER_PING(const PING & p, user_iter u) : user(u), ping(p) {} void Notify(const uint32_t & oldIP, const uint32_t & newIP); - user_iter GetUser() { return user; } + user_iter GetUser() const { return user; } private: user_iter user; @@ -41,7 +41,7 @@ class CHG_IPS_NOTIFIER_PING: public PROPERTY_NOTIFIER_BASE public: CHG_IPS_NOTIFIER_PING(const PING & p, user_iter u) : user(u), ping(p) {} void Notify(const USER_IPS & oldIPS, const USER_IPS & newIPS); - user_iter GetUser() { return user; } + user_iter GetUser() const { return user; } private: user_iter user;