From: Alexander Barton Date: Tue, 3 Oct 2006 11:01:05 +0000 (+0000) Subject: Update info text of local server after re-reading configuration. [from HEAD] X-Git-Tag: rel-0-10-1~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f652554dd0a406d9d782a021623c18822a56bb4;p=ngircd Update info text of local server after re-reading configuration. [from HEAD] --- diff --git a/ChangeLog b/ChangeLog index 1314a5bb..d9d6271c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,10 @@ -- ChangeLog -- +ngIRCd 0.10.x + + - Update info text of local server after re-reading configuration. + ngIRCd 0.10.0 (2006-10-01) - Fixed file handle leak when daemon is not able to send MOTD to a client. @@ -661,4 +665,4 @@ ngIRCd 0.0.1, 31.12.2001 -- -$Id: ChangeLog,v 1.302.2.4 2006/10/01 16:21:55 alex Exp $ +$Id: ChangeLog,v 1.302.2.5 2006/10/03 11:01:05 alex Exp $ diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index f6076a57..c025dc2a 100644 --- a/src/ngircd/conf.c +++ b/src/ngircd/conf.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: conf.c,v 1.92 2006/07/23 16:42:45 alex Exp $"; +static char UNUSED id[] = "$Id: conf.c,v 1.92.2.1 2006/10/03 11:01:06 alex Exp $"; #include "imp.h" #include @@ -146,6 +146,9 @@ Conf_Rehash( void ) Set_Defaults( false ); Read_Config( ); Validate_Config(false, true); + + /* Update CLIENT structure of local server */ + Client_SetInfo(Client_ThisServer(), Conf_ServerInfo); } /* Config_Rehash */