From f1c998aef146a7090122bf78eea00e61ab6dbc8c Mon Sep 17 00:00:00 2001 From: Valery Yatsko Date: Tue, 8 Apr 2008 15:38:18 +0400 Subject: [PATCH] ServerRunning is not used too --- src/ircd.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ircd.c b/src/ircd.c index dc5ec37..76d7efb 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -67,7 +67,6 @@ #include "serno.h" #include "sslproc.h" -extern int ServerRunning; extern struct LocalUser meLocalUser; extern char **myargv; @@ -445,7 +444,6 @@ main(int argc, char *argv[]) */ setup_corefile(); - ServerRunning = 0; /* It ain't random, but it ought to be a little harder to guess */ srand(SystemTime.tv_sec ^ (SystemTime.tv_usec | (getpid() << 20))); memset(&me, 0, sizeof(me)); @@ -648,8 +646,6 @@ main(int argc, char *argv[]) if(splitmode) check_splitmode_ev = rb_event_add("check_splitmode", check_splitmode, NULL, 2); - ServerRunning = 1; - print_startup(getpid()); rb_lib_loop(250);