0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

egd fixed

This commit is contained in:
Valery V Yatsko 2008-08-16 22:29:33 +04:00
parent f01a7ff1e9
commit 37cd159e94

View file

@ -67,8 +67,6 @@
#include "sslproc.h"
#include "chmode.h"
/* XXX fix egd!!! */
/* /quote set variables */
struct SetOptions GlobalSetOptions;
@ -633,6 +631,12 @@ main(int argc, char *argv[])
rb_lib_init(ircd_log_cb, ircd_restart_cb, ircd_die_cb, !server_state_foreground, maxconnections, DNODE_HEAP_SIZE, FD_HEAP_SIZE);
rb_linebuf_init(LINEBUF_HEAP_SIZE);
if(ConfigFileEntry.use_egd && (ConfigFileEntry.egdpool_path != NULL))
{
rb_init_prng(ConfigFileEntry.egdpool_path, RB_PRNG_EGD);
} else
rb_init_prng(NULL, RB_PRNG_DEFAULT);
init_main_logfile();
newconf_init();
init_s_conf();