]> git.stg.codes - stg.git/blobdiff - projects/stargazer/users_impl.h
Check that IP is not in use before changing.
[stg.git] / projects / stargazer / users_impl.h
index 69f3fbae8d9aca286e1aa9d1ae9f3ac0c9cc04c6..0c2af78d5f84fea5bbab66e25e0deed6787964e2 100644 (file)
@@ -103,6 +103,7 @@ public:
     int             FindByIPIdx(uint32_t ip, USER_PTR * user) const;
     int             FindByIPIdx(uint32_t ip, USER_IMPL ** user) const;
     bool            IsIPInIndex(uint32_t ip) const;
+    bool            IsIPInUse(uint32_t ip, const std::string & login, CONST_USER_PTR * user) const;
 
     int             OpenSearch();
     int             SearchNext(int handler, USER_PTR * user);