+
+ /* Informationen uebern den "Operation Mode" */
+ strcpy( txt, "" );
+#ifdef DEBUG
+ if( NGIRCd_Debug )
+ {
+ if( txt[0] ) strcat( txt, ", " );
+ strcat( txt, "debug-mode" );
+ }
+#endif
+ if( NGIRCd_NoDaemon )
+ {
+ if( txt[0] ) strcat( txt, ", " );
+ strcat( txt, "no-daemon-mode" );
+ }
+ if( NGIRCd_Passive )
+ {
+ if( txt[0] ) strcat( txt, ", " );
+ strcat( txt, "passive-mode" );
+ }
+#ifdef SNIFFER
+ if( NGIRCd_Sniffer )
+ {
+ if( txt[0] ) strcat( txt, ", " );
+ strcat( txt, "network sniffer" );
+ }
+#endif
+ if( txt[0] ) Log( LOG_INFO, "Activating: %s.", txt );