diff options
| author | Alexander Barton <alex@barton.de> | 2024-01-20 23:04:32 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2024-01-21 01:20:46 +0100 |
| commit | 3c39094b52332dc2b79ee9ae640324e312b81777 (patch) | |
| tree | 157e3490ba4bd6999256780c799de673ffefacda /doc/sample-ngircd.conf.tmpl | |
| parent | 669d71f3fe4c21f27c329690d74427879d8ee35a (diff) | |
| download | ngircd-3c39094b52332dc2b79ee9ae640324e312b81777.tar.gz ngircd-3c39094b52332dc2b79ee9ae640324e312b81777.zip | |
Deduce a server name when not set in the configuration
The server "Name" in the "[Global]" section of the configuration file is
optional now: When not set (or empty), ngIRCd now tries to deduce a
valid IRC server name from the local host name ("node name"), possibly
adding a ".host" extension when the host name does not contain a dot
(".") which is required in an IRC server name ("ID").
This new behaviour, with all configuration parameters now being
optional, allows running ngIRCd without any configuration file at all.
Diffstat (limited to 'doc/sample-ngircd.conf.tmpl')
| -rw-r--r-- | doc/sample-ngircd.conf.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl index cea23a2b..a5b61af7 100644 --- a/doc/sample-ngircd.conf.tmpl +++ b/doc/sample-ngircd.conf.tmpl @@ -24,8 +24,9 @@ # make sure that they correspond to your installation and setup! # Server name in the IRC network, must contain at least one dot - # (".") and be unique in the IRC network. Required! - Name = irc.example.net + # (".") and be unique in the IRC network. When not set, ngIRCd tries + # to deduce a valid IRC server name from the local host name. + ;Name = irc.example.net # Information about the server and the administrator, used by the # ADMIN command. Not required by server but by RFC! |