* Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
* der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
*
- * $Id: ngircd.c,v 1.60 2002/11/22 17:59:43 alex Exp $
+ * $Id: ngircd.c,v 1.62 2002/11/26 23:07:24 alex Exp $
*
* ngircd.c: Hier beginnt alles ;-)
*/
* sind in doc/Protocol.txt beschrieben. */
#ifdef IRCPLUS
sprintf( NGIRCd_ProtoID, "%s%s %s|%s:%s", PROTOVER, PROTOIRCPLUS, PACKAGE, VERSION, IRCPLUSFLAGS );
+#ifdef USE_ZLIB
+ strcat( NGIRCd_ProtoID, "Z" );
+#endif
if( Conf_OperCanMode ) strcat( NGIRCd_ProtoID, "o" );
#else
sprintf( NGIRCd_ProtoID, "%s%s %s|%s", PROTOVER, PROTOIRC, PACKAGE, VERSION );
#endif
strcat( NGIRCd_ProtoID, " P" );
+#ifdef USE_ZLIB
+ strcat( NGIRCd_ProtoID, "Z" );
+#endif
Log( LOG_DEBUG, "Protocol and server ID is \"%s\".", NGIRCd_ProtoID );
/* Vordefinierte Channels anlegen */
if( txt[0] ) strcat( txt, "+" );
strcat( txt, "SYSLOG" );
#endif
+#ifdef USE_ZLIB
+ if( txt[0] ) strcat( txt, "+" );
+ strcat( txt, "ZLIB" );
+#endif
#ifdef DEBUG
if( txt[0] ) strcat( txt, "+" );
strcat( txt, "DEBUG" );
GLOBAL VOID
-NGIRCd_Reload( VOID )
+NGIRCd_Rehash( VOID )
{
CHAR old_name[CLIENT_ID_LEN];
Conn_InitListeners( );
Log( LOG_INFO, "Re-reading of configuration done." );
-} /* NGIRCd_Reload */
+} /* NGIRCd_Rehash */
LOCAL VOID
case SIGHUP:
/* Konfiguration neu einlesen: */
Log( LOG_WARNING|LOG_snotice, "Got HUP signal, re-reading configuration ..." );
- NGIRCd_Reload( );
+ NGIRCd_Rehash( );
break;
case SIGCHLD:
/* Child-Prozess wurde beendet. Zombies vermeiden: */