diff options
author | Adam <Adam@anope.org> | 2012-02-13 00:10:45 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-13 00:10:45 -0500 |
commit | 086790d6331357022f4da17c76b26b9fc6e2ad90 (patch) | |
tree | e82d9e0b67cfc5ad0251d8bdcd2490207a875fc6 /src/init.cpp | |
parent | 1bc8e2ab82db9ce00faaa44887338873a2cd9210 (diff) |
Removed our RNG and just use the systems, it's not very widely used. Also made DNS query ids not random as they don't need to be.
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp index a9cbcc03a..2a87ade9c 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -459,8 +459,7 @@ void Init(int ac, char **av) InitLanguages(); /* Initialize random number generator */ - rand_init(); - add_entropy_userkeys(); + srand(time(NULL)); /* load modules */ Log() << "Loading modules..."; |