]> arthur.barton.de Git - ngircd-alex.git/commit
Auto-generate server name when not set in any config file tmp/auto-server-name
authorAlexander Barton <alex@barton.de>
Sat, 14 Dec 2019 00:19:06 +0000 (01:19 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 29 Aug 2020 20:36:57 +0000 (22:36 +0200)
commit0c2d43aa510189b0f51ddd3f14e3db5cbbadcae9
tree812b3b4cdb52e13ad14c9d6431a968fb7a175483
parent0ae158a492221421f9e8b531d16651e3bcd9ccee
Auto-generate server name when not set in any config file

Try to get a sane name from the host name when no server name is set in
the configuration file. This enables running ngIRCd without a config
file at all, which can be handy for conatiners, for example.

Note: the IRC server name MUST contain at least one dot, so the plain
"node name" is not sufficient!
doc/sample-ngircd.conf.tmpl
man/ngircd.conf.5.tmpl
src/ngircd/conf.c