commit 3460c87c589b0bfd735dbdd761e9a508a2d9a3c7 from: Florian Westphal date: Sun Jan 09 21:19:17 2011 UTC conf: fix 'unknown section' FEATURES parse error pointed out by Alex: ngircd.conf, line 105: Unknown section "[Features]"! commit - 02592f912e9f4e43f4501ff4f15953d21b77d8b2 commit + 3460c87c589b0bfd735dbdd761e9a508a2d9a3c7 blob - 5819ef17eda92869fcadecefb627face7d64a374 blob + 02f5520f6657797a092703276311d77a7d981b28 --- src/ngircd/conf.c +++ 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 ) {