summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-06 15:57:00 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-04 19:05:20 +0200
commitf86f450701c622122d590effdabfaec833b1e5bd (patch)
treef9667c0f5c2090ddbab3e7596b0512adf7257561 /include
parent8c08130e19247f4a0798613ba6b931cd599115b6 (diff)
Move whowas settings into cmd_whowas from ConfigReader
Diffstat (limited to 'include')
-rw-r--r--include/commands/cmd_whowas.h13
-rw-r--r--include/configreader.h13
2 files changed, 13 insertions, 13 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
diff --git a/include/configreader.h b/include/configreader.h
index b26be3d6c..d3b3edd84 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -240,19 +240,6 @@ class CoreExport ServerConfig
*/
int c_ipv6_range;
- /** 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;
-
/** Holds the server name of the local server
* as defined by the administrator.
*/