about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2010-08-11 22:52:06 +0200
committerFlorian Westphal <fw@strlen.de>2010-08-12 21:46:47 +0200
commit056de78e315a79edc1166649514bf8dfeb18abb1 (patch)
tree0a54069829ad3aa388de6f09386c4666cd4e1098 /doc
parenta02bc9cc6f821a604f6ae4a865b0da8eec4da5a4 (diff)
downloadngircd-056de78e315a79edc1166649514bf8dfeb18abb1.tar.gz
ngircd-056de78e315a79edc1166649514bf8dfeb18abb1.zip
ngircd: change MOTD file handling
previously, the given MotdFile file was read whenever a client
requested it.

Change handling to read the MotdFile contents into memory once
during config file parsing.

Two side effects:
- changes to the MOTD file do not have any effect until ngircds
  configuration is reloaded
- MOTD file does no longer have to reside in the chroot directory
  (the MOTD contents will then not be re-read on reload in that case)
Diffstat (limited to 'doc')
-rw-r--r--doc/sample-ngircd.conf1
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/sample-ngircd.conf b/doc/sample-ngircd.conf
index 645d1b8a..fdeed355 100644
--- a/doc/sample-ngircd.conf
+++ b/doc/sample-ngircd.conf
@@ -73,7 +73,6 @@
 	;MotdFile = /usr/local/etc/ngircd.motd
 
 	# A simple Phrase (<256 chars) if you don't want to use a motd file.
-	# If it is set no MotdFile will be read at all.
 	;MotdPhrase = "Hello world!"
 
 	# User ID under which the server should run; you can use the name