From da3ba37e04c07b122d0335dbc8ab3bffc413a6cc Mon Sep 17 00:00:00 2001 From: JD Horelick Date: Thu, 25 Feb 2010 15:13:12 -0500 Subject: [PATCH] Backed out changeset 0d7b5f2ac591 --- doc/example.conf | 1 - doc/reference.conf | 6 ------ include/s_conf.h | 1 - modules/m_info.c | 6 ------ src/newconf.c | 1 - src/s_conf.c | 1 - 6 files changed, 16 deletions(-) diff --git a/doc/example.conf b/doc/example.conf index 08ae57b..ead3b0f 100755 --- a/doc/example.conf +++ b/doc/example.conf @@ -510,7 +510,6 @@ general { reject_duration = 5 minutes; throttle_duration = 60; throttle_count = 4; - expire_override_time = 5 minutes; }; modules { diff --git a/doc/reference.conf b/doc/reference.conf index 96057d7..672946d 100755 --- a/doc/reference.conf +++ b/doc/reference.conf @@ -1260,12 +1260,6 @@ general { /* throttle_count: Number of connections within throttle_duration that it takes * for throttling to take effect */ throttle_count = 4; - - /* expire_override_time: User mode +p (override) will be automatically unset - * this long after it is set. 0 disables this (not recommended). Default is - * 5 minutes. - */ - expire_override_time = 5 minutes; }; modules { diff --git a/include/s_conf.h b/include/s_conf.h index 2a95669..625bfde 100644 --- a/include/s_conf.h +++ b/include/s_conf.h @@ -217,7 +217,6 @@ struct config_file_entry int global_snotices; int operspy_dont_care_user_info; int secret_channels_in_whois; - int expire_override_time; }; struct config_channel_entry diff --git a/modules/m_info.c b/modules/m_info.c index 18f7b58..746ae41 100644 --- a/modules/m_info.c +++ b/modules/m_info.c @@ -175,12 +175,6 @@ static struct InfoStruct info_table[] = { &ConfigFileEntry.dots_in_ident, "Number of permissable dots in an ident" }, - { - "expire_override_time", - OUTPUT_DECIMAL, - &ConfigFileEntry.expire_override_time, - "Period of time after which to unset user mode +p" - }, { "failed_oper_notice", OUTPUT_BOOLEAN, diff --git a/src/newconf.c b/src/newconf.c index 50ceefc..168de2d 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -2199,7 +2199,6 @@ static struct ConfEntry conf_general_table[] = { "ts_warn_delta", CF_TIME, NULL, 0, &ConfigFileEntry.ts_warn_delta }, { "use_whois_actually", CF_YESNO, NULL, 0, &ConfigFileEntry.use_whois_actually }, { "warn_no_nline", CF_YESNO, NULL, 0, &ConfigFileEntry.warn_no_nline }, - { "expire_override_time", CF_TIME, NULL, 0, &ConfigFileEntry.expire_override_time }, { "\0", 0, NULL, 0, NULL } }; diff --git a/src/s_conf.c b/src/s_conf.c index 22ba9e7..dcdd30d 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -783,7 +783,6 @@ set_default_conf(void) ConfigFileEntry.reject_duration = 120; ConfigFileEntry.throttle_count = 4; ConfigFileEntry.throttle_duration = 60; - ConfigFileEntry.expire_override_time = 300; ServerInfo.default_max_clients = MAXCONNECTIONS;