summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-27 23:05:22 -0400
committerAdam <Adam@anope.org>2010-08-27 23:05:22 -0400
commit334e5a4ef9067e1b0a87abd50a4aac9a711ea5ef (patch)
treeb0fb89c4f995fedff9816118dc0703e2a1b6d550
parent56045afda2e34028ed36be5b4a67734493575290 (diff)
Removed options:keeplogs because its no longer used
-rw-r--r--data/example.conf10
-rw-r--r--docs/Changes.conf2
-rw-r--r--include/config.h2
-rw-r--r--src/config.cpp1
4 files changed, 1 insertions, 14 deletions
diff --git a/data/example.conf b/data/example.conf
index 65d94ad5f..55082ed74 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -402,16 +402,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.
*
diff --git a/docs/Changes.conf b/docs/Changes.conf
index 01227d8b2..e7738c95f 100644
--- a/docs/Changes.conf
+++ b/docs/Changes.conf
@@ -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
--------------------
diff --git a/include/config.h b/include/config.h
index 5d605aca5..5eb998b4a 100644
--- a/include/config.h
+++ b/include/config.h
@@ -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 */
diff --git a/src/config.cpp b/src/config.cpp
index 48563b0c5..ba5109553 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -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},