From 4e02bdc322cfffc8d0862c967919054eb6f14c60 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 3 Oct 2006 10:59:40 +0000 Subject: [PATCH] Update info text of local server after re-reading configuration. --- ChangeLog | 3 ++- src/ngircd/conf.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2ccb4f1d..41f3a987 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,7 @@ ngIRCd HEAD + - Update info text of local server after re-reading configuration. - Changed Numerics 265 and 266 to follow ircd 2.11.x "standards". - Allow PASS syntax defined in RFC 1459 for server links, too. - Enhanced ISUPPORT message (005 numeric). @@ -667,4 +668,4 @@ ngIRCd 0.0.1, 31.12.2001 -- -$Id: ChangeLog,v 1.307 2006/10/01 19:13:32 alex Exp $ +$Id: ChangeLog,v 1.308 2006/10/03 10:59:40 alex Exp $ diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index f6076a57..34292a52 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.93 2006/10/03 10:59:41 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 */