diff --git a/data/anope.example.conf b/data/anope.example.conf index 7c2614f53..b6ea60d83 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -414,12 +414,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 4a1c6f644..27af0e182 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, Anope will only show /stats o to IRC Operators. This directive * is optional. diff --git a/src/config.cpp b/src/config.cpp index 18dea1b6a..ebf142c04 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -179,7 +179,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", "1")); ValidateNotZero("networkinfo", "userlen", networkinfo->Get("userlen", "1"));