diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-07 21:14:17 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-07 21:14:17 +0000 |
commit | 6b9eaeba4130acb818a63782640194c7e5bcc2fa (patch) | |
tree | b85582342008671b0f56de5acff039956fcf4eb2 /include/users.h | |
parent | f9eb4c966f3c20ac5767edc19f4f8803b17e4147 (diff) |
Move all /WHOWAS related out of core and into cmd_whowas.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6249 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/include/users.h b/include/users.h index c34b60693..749030894 100644 --- a/include/users.h +++ b/include/users.h @@ -846,69 +846,6 @@ class userrec : public connection virtual ~userrec(); }; - -namespace irc -{ - /** Holds whowas related functions and classes - */ - namespace whowas - { - - /** Used to hold WHOWAS information - */ - class WhoWasGroup : public classbase - { - public: - /** Real host - */ - char* host; - /** Displayed host - */ - char* dhost; - /** Ident - */ - char* ident; - /** Server name - */ - const char* server; - /** Fullname (GECOS) - */ - char* gecos; - /** Signon time - */ - time_t signon; - - /** Initialize this WhoQasFroup with a user - */ - WhoWasGroup(userrec* user); - /** Destructor - */ - ~WhoWasGroup(); - }; - - /** A group of users related by nickname - */ - typedef std::deque<WhoWasGroup*> whowas_set; - - /** Sets of users in the whowas system - */ - typedef std::map<irc::string,whowas_set*> whowas_users; - - /** Sets of time and users in whowas list - */ - typedef std::deque<std::pair<time_t,irc::string> > whowas_users_fifo; - - /** Called every hour by the core to remove expired entries - */ - void MaintainWhoWas(InspIRCd* ServerInstance, time_t TIME); - - /** Prune for WhoWasGroupSize, WhoWasMaxGroups and - * WhoWasMaxKeep on rehash - */ - void PruneWhoWas(InspIRCd* ServerInstance, time_t TIME); - }; -}; - /* Configuration callbacks */ class ServerConfig; |