diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/commands/cmd_whowas.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h index f9b232281..a17785c22 100644 --- a/include/commands/cmd_whowas.h +++ b/include/commands/cmd_whowas.h @@ -60,15 +60,22 @@ namespace WhoWas class Manager { public: + struct Stats + { + /** Number of currently existing WhoWasGroup objects + */ + size_t entrycount; + }; + /** Add a user to the whowas database. Called when a user quits. * @param user The user to add to the database */ void Add(User* user); /** Retrieves statistics about the whowas database - * @return Whowas statistics + * @return Whowas statistics as a WhoWas::Manager::Stats struct */ - std::string GetStats() const; + Stats GetStats() const; /** Expires old entries */ |