summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-13 00:45:37 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-13 00:45:37 +0000
commit41f62a2a3badd6b7dbffb4fdb995c41ef709462c (patch)
treeb87fbf24939d47fe28a066716e0a61682f2d8f87 /include/users.h
parentf09dc35b5b03eb19e70333fbb8e5fe6f92c7edee (diff)
add <whowas> config option to control whowas behaviour. *may break*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5731 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 018336e77..ce8f4eb28 100644
--- a/include/users.h
+++ b/include/users.h
@@ -828,9 +828,18 @@ namespace irc
*/
typedef std::map<irc::string,whowas_set*> whowas_users;
+ /** Sets of time and users in whowas list
+ */
+ typedef std::map<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);
};
};