Index: ChangeLog
===================================================================
RCS file: /srv/cvs/ngircd/ngircd/ChangeLog,v
retrieving revision 1.309
diff -u -p -r1.309 ChangeLog
--- ChangeLog	5 Nov 2006 13:03:46 -0000	1.309
+++ ChangeLog	10 Nov 2006 10:04:00 -0000
@@ -12,6 +12,7 @@
 
 ngIRCd HEAD
 
+  - Fixed validation of server names containing digits.
   - 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.
Index: src/ngircd/conf.c
===================================================================
RCS file: /srv/cvs/ngircd/ngircd/src/ngircd/conf.c,v
retrieving revision 1.94
diff -u -p -r1.94 conf.c
--- src/ngircd/conf.c	5 Nov 2006 13:03:48 -0000	1.94
+++ src/ngircd/conf.c	10 Nov 2006 10:04:01 -0000
@@ -975,7 +975,7 @@ Validate_Config(bool Configtest, bool Re
 	do {
 		if (*ptr >= 'a' && *ptr <= 'z') continue;
 		if (*ptr >= 'A' && *ptr <= 'Z') continue;
-		if (*ptr >= '1' && *ptr <= '0') continue;
+		if (*ptr >= '0' && *ptr <= '9') continue;
 		if (ptr > Conf_ServerName) {
 			if (*ptr == '.' || *ptr == '-')
 				continue;
