From cc37e6d69a6e473814793c0badf14e4f19a23c4f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 17 Sep 2024 12:25:15 +0100 Subject: 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. --- data/example.conf | 6 ------ data/stats.standalone.example.conf | 6 ------ src/config.cpp | 1 - 3 files changed, 13 deletions(-) diff --git a/data/example.conf b/data/example.conf index 9d423f073..647e1eee4 100644 --- a/data/example.conf +++ b/data/example.conf @@ -458,12 +458,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, 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 @@ -371,12 +371,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("motd")); ValidateNotZero("options", "readtimeout", options->Get("readtimeout")); - ValidateNotZero("options", "warningtimeout", options->Get("warningtimeout")); ValidateNotZero("networkinfo", "nicklen", networkinfo->Get("nicklen")); ValidateNotZero("networkinfo", "userlen", networkinfo->Get("userlen")); -- cgit