From e1db84d87d17b97abd2bb43c46e083c580a92309 Mon Sep 17 00:00:00 2001 From: Valery V Yatsko Date: Sat, 16 Aug 2008 22:30:28 +0400 Subject: [PATCH] seed random not even every 300 seconds, but on startup also --- src/ircd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ircd.c b/src/ircd.c index 170ea9dd..19d7aaeb 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -637,6 +637,8 @@ main(int argc, char *argv[]) } else rb_init_prng(NULL, RB_PRNG_DEFAULT); + seed_random(NULL); + init_main_logfile(); newconf_init(); init_s_conf();