diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-07-06 15:57:00 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-04 19:05:20 +0200 |
commit | f86f450701c622122d590effdabfaec833b1e5bd (patch) | |
tree | f9667c0f5c2090ddbab3e7596b0512adf7257561 /include/commands | |
parent | 8c08130e19247f4a0798613ba6b931cd599115b6 (diff) |
Move whowas settings into cmd_whowas from ConfigReader
Diffstat (limited to 'include/commands')
-rw-r--r-- | include/commands/cmd_whowas.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h index 8033f1796..590c11172 100644 --- a/include/commands/cmd_whowas.h +++ b/include/commands/cmd_whowas.h @@ -55,6 +55,19 @@ class CommandWhowas : public Command whowas_users_fifo whowas_fifo; public: + /** Max number of WhoWas entries per user. + */ + int WhoWasGroupSize; + + /** Max number of cumulative user-entries in WhoWas. + * When max reached and added to, push out oldest entry FIFO style. + */ + int WhoWasMaxGroups; + + /** Max seconds a user is kept in WhoWas before being pruned. + */ + int WhoWasMaxKeep; + CommandWhowas(Module* parent); /** Handle command. * @param parameters The parameters to the comamnd |