Synchronize server connections with server configurations after reloading the configuration.

This commit is contained in:
Alexander Barton 2003-03-27 01:22:44 +00:00
parent 02a22611be
commit 24df40eca7
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,7 @@
#include "portab.h" #include "portab.h"
static char UNUSED id[] = "$Id: ngircd.c,v 1.74 2003/03/07 14:50:13 alex Exp $"; static char UNUSED id[] = "$Id: ngircd.c,v 1.75 2003/03/27 01:22:44 alex Exp $";
#include "imp.h" #include "imp.h"
#include <assert.h> #include <assert.h>
@ -437,6 +437,9 @@ NGIRCd_Rehash( VOID )
/* Listen-Sockets neu anlegen: */ /* Listen-Sockets neu anlegen: */
Conn_InitListeners( ); Conn_InitListeners( );
/* Sync configuration with established connections */
Conn_SyncServerStruct( );
Log( LOG_NOTICE|LOG_snotice, "Re-reading of configuration done." ); Log( LOG_NOTICE|LOG_snotice, "Re-reading of configuration done." );
} /* NGIRCd_Rehash */ } /* NGIRCd_Rehash */