commit - e7c1b19161ab7a3f4dabb11ef17c33746721444c
commit + c23535bc96d1bfc367c054973e019350d041c180
blob - 73d1cf49519a183070882b299edfc8c40097948b
blob + aab8f068b11168fac0aaff7d582c9b9c491fdae2
--- src/ngircd/conf.c
+++ src/ngircd/conf.c
* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
*
- * $Id: conf.c,v 1.24 2002/05/21 00:10:16 alex Exp $
+ * $Id: conf.c,v 1.25 2002/05/22 11:14:36 alex Exp $
*
* conf.h: Konfiguration des ngircd
*/
for( i = 0; i < Conf_Oper_Count; i++ )
{
+ if( ! Conf_Oper[i].name[0] ) continue;
+
+ /* gueltiger Operator-Block: ausgeben */
puts( "[OPERATOR]" );
printf( " Name = %s\n", Conf_Oper[i].name );
printf( " Password = %s\n", Conf_Oper[i].pwd );
for( i = 0; i < Conf_Server_Count; i++ )
{
+ if( ! Conf_Server[i].name[0] ) continue;
+ if( ! Conf_Server[i].host[0] ) continue;
+
+ /* gueltiger Server-Block: ausgeben */
puts( "[SERVER]" );
printf( " Name = %s\n", Conf_Server[i].name );
printf( " Host = %s\n", Conf_Server[i].host );
for( i = 0; i < Conf_Channel_Count; i++ )
{
+ if( ! Conf_Channel[i].name[0] ) continue;
+
+ /* gueltiger Channel-Block: ausgeben */
puts( "[CHANNEL]" );
printf( " Name = %s\n", Conf_Channel[i].name );
printf( " Modes = %s\n", Conf_Channel[i].modes );