repo: ngircd action: commit revision: path_from: revision_from: 3460c87c589b0bfd735dbdd761e9a508a2d9a3c7: path_to: revision_to:
commit 3460c87c589b0bfd735dbdd761e9a508a2d9a3c7 Author: Florian WestphalDate: Sun Jan 9 22:19:17 2011 +0100 conf: fix 'unknown section' FEATURES parse error pointed out by Alex: ngircd.conf, line 105: Unknown section "[Features]"! diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c
--- a/src/ngircd/conf.c
+++ b/src/ngircd/conf.c
@@ -769,7 +769,8 @@ Read_Config( bool ngircd_starting )
/* Is this the beginning of a new section? */
if(( str[0] == '[' ) && ( str[strlen( str ) - 1] == ']' )) {
strlcpy( section, str, sizeof( section ));
- if( strcasecmp( section, "[GLOBAL]" ) == 0 )
+ if (strcasecmp( section, "[GLOBAL]" ) == 0 ||
+ strcasecmp( section, "[FEATURES]") == 0)
continue;
if( strcasecmp( section, "[SERVER]" ) == 0 ) {
-----END OF PAGE-----