Commit Diff


commit - 5cbdcf4f0d44709798469f09a72d4b4bd56d6e93
commit + c38751191f5811cbd45a0723e39c88785a854e9f
blob - f18016b5c13f7a852ca61ce688a0048980370ef4
blob + 58ce9cab99fd14277842b2c85286d231ff99d370
--- src/ngircd/conf.c
+++ src/ngircd/conf.c
@@ -854,10 +854,13 @@ 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 ||
-			    strcasecmp(section, "[LIMITS]") == 0 ||
-			    strcasecmp(section, "[OPTIONS]") == 0 ||
-			    strcasecmp(section, "[SSL]") == 0)
+			if (strcasecmp(section, "[GLOBAL]") == 0
+			    || strcasecmp(section, "[LIMITS]") == 0
+			    || strcasecmp(section, "[OPTIONS]") == 0
+#ifdef SSL_SUPPORT
+			    || strcasecmp(section, "[SSL]") == 0
+#endif
+			    )
 				continue;
 
 			if( strcasecmp( section, "[SERVER]" ) == 0 ) {