X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/324028b1d412ab7308d2be18be2b8e4e30310d27..0fc9896e27b94093ccde0b8566e2b8109ae8f657:/projects/stargazer/plugins/authorization/ao/ao.h diff --git a/projects/stargazer/plugins/authorization/ao/ao.h b/projects/stargazer/plugins/authorization/ao/ao.h index fe267c4e..879c937c 100644 --- a/projects/stargazer/plugins/authorization/ao/ao.h +++ b/projects/stargazer/plugins/authorization/ao/ao.h @@ -37,6 +37,7 @@ #include "stg/notifer.h" #include "stg/user_ips.h" #include "stg/user.h" +#include "stg/logger.h" extern "C" PLUGIN * GetPlugin(); @@ -94,8 +95,8 @@ public: int ParseSettings() { return 0; } const std::string & GetStrError() const { return errorStr; } const std::string GetVersion() const; - uint16_t GetStartPosition() const { return 70; } - uint16_t GetStopPosition() const { return 70; } + uint16_t GetStartPosition() const { return 30; } + uint16_t GetStopPosition() const { return 30; } void AddUser(USER_PTR u); void DelUser(USER_PTR u); @@ -148,6 +149,7 @@ private: AUTH_AO & auth; } onDelUserNotifier; + PLUGIN_LOGGER logger; friend class CHG_BEFORE_NOTIFIER; friend class CHG_AFTER_NOTIFIER;