]> git.stg.codes - stg.git/blobdiff - projects/stargazer/users_impl.h
Implemented IA protocol errors logging.
[stg.git] / projects / stargazer / users_impl.h
index 0c2af78d5f84fea5bbab66e25e0deed6787964e2..70a5b9bdf9fe9f5d4f2f473fedb2e2d29aa69ab8 100644 (file)
@@ -95,7 +95,9 @@ public:
 
     bool            Authorize(const std::string & login, uint32_t ip,
                               uint32_t enabledDirs, const AUTH * auth);
-    bool            Unauthorize(const std::string & login, const AUTH * auth);
+    bool            Unauthorize(const std::string & login,
+                                const AUTH * auth,
+                                const std::string & reason = std::string());
 
     int             ReadUsers();
     size_t          Count() const { return users.size(); }