]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/ngircd.c
- Connection-Statistik implementiert.
[ngircd-alex.git] / src / ngircd / ngircd.c
index c73939ae8dc47f0b437e4afbd62bd28601c50c12..38beb78f3835b590ae8d61f6fd61200f11b11466 100644 (file)
@@ -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.55 2002/10/03 21:49:59 alex Exp $
+ * $Id: ngircd.c,v 1.56 2002/10/07 21:16:13 alex Exp $
  *
  * ngircd.c: Hier beginnt alles ;-)
  */
@@ -35,6 +35,7 @@
 #include "client.h"
 #include "channel.h"
 #include "conf.h"
+#include "cvs-version.h"
 #include "defines.h"
 #include "lists.h"
 #include "log.h"
@@ -319,8 +320,12 @@ GLOBAL CHAR *
 NGIRCd_Version( VOID )
 {
        STATIC CHAR version[126];
-
+       
+#ifdef CVSDATE
+       sprintf( version, "%s %s(%s)-%s", PACKAGE, VERSION, CVSDATE, NGIRCd_VersionAddition( ));
+#else
        sprintf( version, "%s %s-%s", PACKAGE, VERSION, NGIRCd_VersionAddition( ));
+#endif
        return version;
 } /* NGIRCd_Version */