X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/085c36723242f7bd1e0fd9bf49b950da6cb96039..0c097ef3435d2a45c1ee4ac80f8bd3f254fb8df5:/projects/stargazer/plugins/other/ping/ping.h diff --git a/projects/stargazer/plugins/other/ping/ping.h b/projects/stargazer/plugins/other/ping/ping.h index aaa2988a..b52a5e1c 100644 --- a/projects/stargazer/plugins/other/ping/ping.h +++ b/projects/stargazer/plugins/other/ping/ping.h @@ -69,7 +69,7 @@ class PING : public Plugin void UnSetUserNotifiers(UserPtr u); void Run(std::stop_token token); - mutable std::string errorStr; + std::string errorStr; PING_SETTINGS pingSettings; ModuleSettings settings; Users * users; @@ -78,7 +78,7 @@ class PING : public Plugin std::jthread m_thread; std::mutex m_mutex; bool isRunning; - mutable STG_PINGER pinger; + STG_PINGER m_pinger; void updateCurrIP(uint32_t oldVal, uint32_t newVal); void updateIPs(const UserIPs& oldVal, const UserIPs& newVal);