Module: ngircd.git Branch: master Commit: 25dd193e9b49b38db39cf549f94df4ba11812fe9 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=25dd1...
Author: Alexander Barton alex@barton.de Date: Wed Mar 16 23:43:29 2011 +0100
Move "ClientHost" and "ClientUserNick" to end of [Global] section
---
doc/sample-ngircd.conf.tmpl | 12 ++++++------ src/ngircd/conf.c | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/doc/sample-ngircd.conf.tmpl b/doc/sample-ngircd.conf.tmpl index 7cfe08f..8591759 100644 --- a/doc/sample-ngircd.conf.tmpl +++ b/doc/sample-ngircd.conf.tmpl @@ -24,12 +24,6 @@ # (".") and be unique in the IRC network. Required! Name = irc.the.net
- # Set this hostname for every client instead of the real one - ;ClientHost = irc.the.net - - # Set every clients' user name to their nick name - ;ClientUserNick = yes - # Info text of the server. This will be shown by WHOIS and # LINKS requests for example. Info = Server Info Text @@ -160,6 +154,12 @@ # maximum nick name length! ;MaxNickLength = 9
+ # Set this hostname for every client instead of the real one + ;ClientHost = irc.the.net + + # Set every clients' user name to their nick name + ;ClientUserNick = yes + [Features] # Do any DNS lookups when a client connects to the server. ;DNS = yes diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index 487c1eb..12893ad 100644 --- a/src/ngircd/conf.c +++ b/src/ngircd/conf.c @@ -295,8 +295,6 @@ Conf_Test( void )
puts( "[GLOBAL]" ); printf(" Name = %s\n", Conf_ServerName); - printf(" ClientHost = %s\n", Conf_ClientHost); - printf(" ClientUserNick = %s\n", yesno_to_str(Conf_ClientUserNick)); printf(" Info = %s\n", Conf_ServerInfo); #ifndef PAM printf(" Password = %s\n", Conf_ServerPwd); @@ -353,7 +351,9 @@ Conf_Test( void ) printf(" MaxConnections = %ld\n", Conf_MaxConnections); printf(" MaxConnectionsIP = %d\n", Conf_MaxConnectionsIP); printf(" MaxJoins = %d\n", Conf_MaxJoins > 0 ? Conf_MaxJoins : -1); - printf(" MaxNickLength = %u\n\n", Conf_MaxNickLength - 1); + printf(" MaxNickLength = %u\n", Conf_MaxNickLength - 1); + printf(" ClientHost = %s\n", Conf_ClientHost); + printf(" ClientUserNick = %s\n\n", yesno_to_str(Conf_ClientUserNick));
puts("[FEATURES]"); printf(" DNS = %s\n", yesno_to_str(Conf_DNS));
ngircd-commits@lists.barton.de