1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 09:06:37 +02:00

- set::services-server is now required to be set (#0000730).

This commit is contained in:
Bram Matthys
2003-02-15 23:41:23 +00:00
parent f2eb5f48b6
commit 36d7d271cc
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -1911,3 +1911,4 @@ seen. gmtime warning still there
- Removed some left over +I code
- Added set::restrict-usermodes to /stats S (reported by AngryWolf)
- Zip links: Added link::compression-level so you can set the compression level per link.
- set::services-server is now required to be set (#0000730).
+2 -2
View File
@@ -1387,8 +1387,8 @@ loadmodule "src/modules/scan_http.so";
Defines the name of the default server to tell users to connect to if this server
is full.</p>
<p><font class="set">set::services-server &lt;server-name&gt;;</font><br>
Specifies the name of the server that the services bots are connected to. If
services are not run this value may be left out.</p>
Specifies the name of the server that the services bots are connected to. Required,
set it to something like services.yournet.com if you don't have services.</p>
<p><font class="set">set::stats-server &lt;server-name&gt;;</font><br>
Sets the name of the server on which the stats bot is located. If stats are
not run this value may be left out.</p>
+4
View File
@@ -279,6 +279,7 @@ struct {
unsigned name_server : 1;
unsigned host_timeout : 1;
unsigned host_retries : 1;
unsigned servicesserv : 1;
unsigned defaultserv : 1;
unsigned irc_network : 1;
unsigned operhost : 1;
@@ -1518,6 +1519,8 @@ int config_post_test()
Error("set::dns::host-timeout missing");
if (!requiredstuff.settings.host_retries)
Error("set::dns::host-retries missing");
if (!requiredstuff.settings.servicesserv)
Error("set::services-server missing");
if (!requiredstuff.settings.defaultserv)
Error("set::default-server missing");
if (!requiredstuff.settings.irc_network)
@@ -5035,6 +5038,7 @@ int _test_set(ConfigFile *conf, ConfigEntry *ce)
}
else if (!strcmp(cep->ce_varname, "services-server")) {
CheckNull(cep);
requiredstuff.settings.servicesserv = 1;
}
else if (!strcmp(cep->ce_varname, "stats-server")) {
CheckNull(cep);