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.
--
-$Id: ChangeLog,v 1.309 2006/11/05 13:03:46 fw Exp $
+$Id: ChangeLog,v 1.310 2006/11/10 10:05:00 alex Exp $
#include "portab.h"
-static char UNUSED id[] = "$Id: conf.c,v 1.94 2006/11/05 13:03:48 fw Exp $";
+static char UNUSED id[] = "$Id: conf.c,v 1.95 2006/11/10 10:05:08 alex Exp $";
#include "imp.h"
#include <assert.h>
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;