X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fngircd.c;h=e630ea7078a96269fbb3f9d6a1ad32057932501b;hp=1eb5e5479fdbdbf9928dd36fd4c9abeecdfaa1c8;hb=ac9da09e87b16c8e24e78f95947eadc62e314ea3;hpb=bc140df80ba49e0cd148a0f1e502529bceab61e0 diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index 1eb5e547..e630ea70 100644 --- a/src/ngircd/ngircd.c +++ b/src/ngircd/ngircd.c @@ -9,11 +9,14 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: ngircd.c,v 1.12 2001/12/29 03:07:36 alex Exp $ + * $Id: ngircd.c,v 1.13 2001/12/30 11:42:00 alex Exp $ * * ngircd.c: Hier beginnt alles ;-) * * $Log: ngircd.c,v $ + * Revision 1.13 2001/12/30 11:42:00 alex + * - der Server meldet nun eine ordentliche "Start-Zeit". + * * Revision 1.12 2001/12/29 03:07:36 alex * - einige Loglevel geaendert. * @@ -68,6 +71,7 @@ #include #include #include +#include #include "channel.h" #include "client.h" @@ -91,6 +95,8 @@ GLOBAL INT main( INT argc, CONST CHAR *argv[] ) portab_check_types( ); /* Globale Variablen initialisieren */ + NGIRCd_Start = time( NULL ); + strftime( NGIRCd_StartStr, 64, "%a %b %d %Y at %H:%M:%S (%Z)", localtime( &NGIRCd_Start )); NGIRCd_Quit = FALSE; /* Module initialisieren */