repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 4e02bdc322cfffc8d0862c967919054eb6f14c60:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 4e02bdc322cfffc8d0862c967919054eb6f14c60
Author: Alexander Barton 
Date:   Tue Oct 3 10:59:40 2006 +0000

    Update info text of local server after re-reading configuration.

diff --git a/ChangeLog b/ChangeLog
index 2ccb4f1da8ebf3f166791d2e85046a5e5fcca674..
index ..41f3a987311a26b053c61597ab6cfb465b7d44dc 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 f6076a574bd1dcb4105e69a6c69eaf159196b9f6..
index ..34292a52caf35b1bc11f14aab10bdd94e3797510 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 */


-----END OF PAGE-----