summaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
authorkeeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b <keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-09-09 15:51:33 +0000
committerkeeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b <keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-09-09 15:51:33 +0000
commite41e4cd69e4df7c18865e85146c06f95c5d31080 (patch)
tree6887e2863cb8040c69abc18d2c4b0ef8a807d638 /src/init.c
parent6c2674da5a94ec7ea60749276d462aa291c70001 (diff)
BUILD : 1.7.5 (342) BUGS : #00 NOTES : Certus: Replaced current rand-implementation with arc4random and replaced C++ comments with C-style comments (gcc 2.95 might complain).
git-svn-id: svn://svn.anope.org/anope/trunk@342 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@218 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init.c b/src/init.c
index 3ceca3c3f..2ff23d437 100644
--- a/src/init.c
+++ b/src/init.c
@@ -589,6 +589,10 @@ int init(int ac, char **av)
/* load any custom modules */
modules_init();
+ /* Initialize random number generator */
+ rand_init();
+ add_entropy_userkeys();
+
#ifdef USE_CONVERTER
/* Convert the databases NOW! */
# ifdef IS44_CONVERTER