aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.c
diff options
context:
space:
mode:
Diffstat (limited to 'bitlbee.c')
-rw-r--r--bitlbee.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitlbee.c b/bitlbee.c
index 3d8a0310..3f488b46 100644
--- a/bitlbee.c
+++ b/bitlbee.c
@@ -292,6 +292,8 @@ static gboolean bitlbee_io_new_client( gpointer data, gint fd, b_input_condition
get the same random numbers as the parent/siblings. */
srand( time( NULL ) ^ getpid() );
+ b_main_init();
+
/* Close the listening socket, we're a client. */
close( global.listen_socket );
b_event_remove( global.listen_watch_source_id );