From 991da8ea2ff4e4feb84aa502d0dd64aabff3ec0b Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 18 May 2002 12:20:02 +0000 Subject: [PATCH 1/1] - der Sniffer (--sniffer) aktiviert nun automatisch den Debug-Modus mit. --- src/ngircd/ngircd.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index ecc9d332..184746be 100644 --- a/src/ngircd/ngircd.c +++ b/src/ngircd/ngircd.c @@ -9,7 +9,7 @@ * 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.44 2002/04/24 13:33:56 alex Exp $ + * $Id: ngircd.c,v 1.45 2002/05/18 12:20:02 alex Exp $ * * ngircd.c: Hier beginnt alles ;-) */ @@ -198,7 +198,11 @@ GLOBAL int main( int argc, const char *argv[] ) if( NGIRCd_Debug ) strcpy( NGIRCd_DebugLevel, "1" ); #endif #ifdef SNIFFER - if( NGIRCd_Sniffer ) strcpy( NGIRCd_DebugLevel, "2" ); + if( NGIRCd_Sniffer ) + { + NGIRCd_Debug = TRUE; + strcpy( NGIRCd_DebugLevel, "2" ); + } #endif /* Soll nur die Konfigurations ueberprueft und ausgegeben werden? */ -- 2.39.2