summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-09-17 12:25:15 +0100
committerSadie Powell <sadie@witchery.services>2024-09-17 12:27:13 +0100
commitcc37e6d69a6e473814793c0badf14e4f19a23c4f (patch)
tree4e994e1aff321f065a6d7f78fe35dfc3a05caec0
parent4b48fc98d3102cbf79d599bbb4d443cd41d7c89c (diff)
Remove config option for options:warningtimeout.
This hasn't done anything since the early 1.9 releases I'm not sure why it hasn't been removed already.
-rw-r--r--data/example.conf6
-rw-r--r--data/stats.standalone.example.conf6
-rw-r--r--src/config.cpp1
3 files changed, 0 insertions, 13 deletions
diff --git a/data/example.conf b/data/example.conf
index 9d423f073..647e1eee4 100644
--- a/data/example.conf
+++ b/data/example.conf
@@ -459,12 +459,6 @@ options
readtimeout = 5s
/*
- * Sets the interval between sending warning messages for program errors via
- * WALLOPS/GLOBOPS.
- */
- warningtimeout = 4h
-
- /*
* Sets the (maximum) frequency at which the timeout list is checked. This,
* combined with readtimeout above, determines how accurately timed events,
* such as nick kills, occur; it also determines how much CPU time Services
diff --git a/data/stats.standalone.example.conf b/data/stats.standalone.example.conf
index 63a47de83..c4925c4c8 100644
--- a/data/stats.standalone.example.conf
+++ b/data/stats.standalone.example.conf
@@ -372,12 +372,6 @@ options
readtimeout = 5s
/*
- * Sets the interval between sending warning messages for program errors via
- * WALLOPS/GLOBOPS.
- */
- warningtimeout = 4h
-
- /*
* If set, Services will only show /stats o to IRC Operators. This directive
* is optional.
*/
diff --git a/src/config.cpp b/src/config.cpp
index 3783e1285..b34dd073a 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -174,7 +174,6 @@ Conf::Conf() : Block("")
ValidateNotEmpty("serverinfo", "motd", serverinfo->Get<const Anope::string>("motd"));
ValidateNotZero("options", "readtimeout", options->Get<time_t>("readtimeout"));
- ValidateNotZero("options", "warningtimeout", options->Get<time_t>("warningtimeout"));
ValidateNotZero("networkinfo", "nicklen", networkinfo->Get<unsigned>("nicklen"));
ValidateNotZero("networkinfo", "userlen", networkinfo->Get<unsigned>("userlen"));