1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 15:53:13 +02:00

Removed options:keeplogs because its no longer used

This commit is contained in:
Adam
2010-08-27 23:05:22 -04:00
parent 56045afda2
commit 334e5a4ef9
4 changed files with 1 additions and 14 deletions
-10
View File
@@ -401,16 +401,6 @@ options
*/
timeoutcheck = 3s
/*
* Sets the number of days log files are kept. If you don't give it, or if you
* set it to 0, logs will be kept indefinitely.
*
* NOTE: Services must run 24 hours a day for this feature to work.
*
* This directive is optional, but recommended.
*/
keeplogs = 7
/*
* Sets the number of days backups of databases are kept. If you don't give it,
* or if you set it to 0, Services won't backup the databases.
+1 -1
View File
@@ -22,7 +22,7 @@ operserv:notifications ossgline changed ossnline
** DELETED CONFIGURATION DIRECTIVES **
serverinfo:helpchannel removed because it has been readded in m_helpchan
networkinfo:logchannel, logbot, logusers, logmaxusers, and logchannel removed because of the log block
networkinfo:logchannel, logbot, logusers, logmaxusers, logchannel, and options:keeplogs removed because of the log block
Anope Version 1.9.2
--------------------
-2
View File
@@ -530,8 +530,6 @@ class ServerConfig
time_t WarningTimeout;
/* How long to process things such as timers to see if there is anything to calll */
time_t TimeoutCheck;
/* Num of days logfiles are kept */
int KeepLogs;
/* Number of days backups are kept */
int KeepBackups;
/* Forbidding requires a reason */
-1
View File
@@ -1003,7 +1003,6 @@ void ServerConfig::Read()
{"options", "readtimeout", "0", new ValueContainerTime(&this->ReadTimeout), DT_TIME, ValidateNotZero},
{"options", "warningtimeout", "0", new ValueContainerTime(&this->WarningTimeout), DT_TIME, ValidateNotZero},
{"options", "timeoutcheck", "0", new ValueContainerTime(&this->TimeoutCheck), DT_TIME, NoValidation},
{"options", "keeplogs", "0", new ValueContainerInt(&this->KeepLogs), DT_INTEGER, NoValidation},
{"options", "keepbackups", "0", new ValueContainerInt(&this->KeepBackups), DT_INTEGER, NoValidation},
{"options", "forceforbidreason", "no", new ValueContainerBool(&this->ForceForbidReason), DT_BOOLEAN, NoValidation},
{"options", "useprivmsg", "no", new ValueContainerBool(&this->UsePrivmsg), DT_BOOLEAN, NoValidation},