about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2006-10-03 10:59:40 +0000
committerAlexander Barton <alex@barton.de>2006-10-03 10:59:40 +0000
commit4e02bdc322cfffc8d0862c967919054eb6f14c60 (patch)
tree59fead774a7cc6155f9bdc8350df2a900b0fac87
parentca5e09865e2f6155ee4eb6551364250734b620ed (diff)
downloadngircd-4e02bdc322cfffc8d0862c967919054eb6f14c60.tar.gz
ngircd-4e02bdc322cfffc8d0862c967919054eb6f14c60.zip
Update info text of local server after re-reading configuration.
-rw-r--r--ChangeLog3
-rw-r--r--src/ngircd/conf.c5
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 <assert.h>
@@ -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 */