]> git.stg.codes - stg.git/blobdiff - projects/stargazer/corps_impl.h
Check IP in USERS_IMPL::Authorize as early as possible
[stg.git] / projects / stargazer / corps_impl.h
index ad705c54a830f00ecb8c87f3e03e0b7972cd28d2..f19084f106967e2019b41ae5240b74565244a123 100644 (file)
@@ -48,6 +48,8 @@ public:
     bool Exists(const std::string & name) const;
     const std::string & GetStrError() const { return strError; }
 
+    size_t Count() const { return data.size(); }
+
     int OpenSearch() const;
     int SearchNext(int, CORP_CONF * corp) const;
     int CloseSearch(int) const;