X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/3f5b16beee49132958b11a586d5573ad426b851f..38cfd057eaa3aa82b37659b5b587ef92cac3bfea:/projects/stargazer/plugins/other/radius/radius.h diff --git a/projects/stargazer/plugins/other/radius/radius.h b/projects/stargazer/plugins/other/radius/radius.h index 6b742de5..17f8ea4e 100644 --- a/projects/stargazer/plugins/other/radius/radius.h +++ b/projects/stargazer/plugins/other/radius/radius.h @@ -18,6 +18,8 @@ namespace STG { struct Settings; + class Users; + class RAD_SETTINGS { public: @@ -44,6 +46,7 @@ namespace STG RADIUS(const RADIUS&) = delete; RADIUS& operator=(const RADIUS&) = delete; + void SetUsers(Users* u) { m_users = u; } void SetSettings(const ModuleSettings & s) override { m_settings = s; } int ParseSettings() override; @@ -74,7 +77,7 @@ namespace STG bool m_running; std::jthread m_thread; - + Users* m_users; PluginLogger m_logger; std::unique_ptr m_server;