]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_whowas.h
Move whowas settings into cmd_whowas from ConfigReader
[user/henk/code/inspircd.git] / include / commands / cmd_whowas.h
index 8033f1796fc4b3cf585808e6fcabcd8bc2b779dd..590c111724fe455fea823fcb3fb5a0324f863be2 100644 (file)
@@ -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