? ../ircu2.10.06/patch.dbh13 ? ../ircu2.10.06/patch.xmode2 ? ../ircu2.10.06/patch.dbh14 ? ../ircu2.10.06/patch.db31 ? ../ircu2.10.06/patch.db32 ? ../ircu2.10.06/patch.indent ? ../ircu2.10.06/patch.p9hispano Index: ../ircu2.10.06/CAMBIOS =================================================================== RCS file: /cvsroot/ircd/CAMBIOS,v retrieving revision 1.21 retrieving revision 1.22 diff -c -r1.21 -r1.22 *** ../ircu2.10.06/CAMBIOS 1999/10/13 23:29:46 1.21 --- ../ircu2.10.06/CAMBIOS 1999/10/15 09:30:29 1.22 *************** *** 1,3 **** --- 1,9 ---- + * 1999/10/15 savage@apostols.org (patch.p9hispano) FIX + ----------------------------------------------------------------------- + He definido los numeros de nodo P9 para los services en numnicks.c, + dado que n2k ha destruido la "autoasignaciĆ³n" de numeros de nodo para + los P9. + * 1999/10/14 savage@apostols.org (patch.dbh14) FIX ----------------------------------------------------------------------- He modificado la respuesta al /STATS B, para hacerla mas corta y le he Index: ../ircu2.10.06/ircd/numnicks.c =================================================================== RCS file: /cvsroot/ircd/ircd/numnicks.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** ../ircu2.10.06/ircd/numnicks.c 1999/10/08 18:35:49 1.6 --- ../ircu2.10.06/ircd/numnicks.c 1999/10/15 09:23:54 1.7 *************** *** 211,216 **** --- 211,217 ---- #ifndef NO_PROTOCOL9 } + #ifndef DB_HISPANO else { static const struct ServerNameNumeric { *************** *** 243,248 **** --- 244,284 ---- } } } + #else /* DB_HISPANO */ + else + { + static const struct ServerNameNumeric { + const char *name; + unsigned int numeric; + } server_table[] = { + { + "sol.irc-hispano.org", 56}, + { + "deep.space", 57}, + { + "sputnik.irc-hispano.org", 58}, + { + "soyuz.irc-hispano.org", 59}, + { + 0, 0} + }; + int i; + for (i = 0; i < 4; ++i) + { + if (!strCasediff(server_table[i].name, server->name)) + { + /* + * XXX - just use the old format for services for now + */ + *server->yxx = convert2y[server_table[i].numeric]; + inttobase64(server->serv->nn_capacity, 63, 2); + server->serv->nn_mask = 63; + break; + } + } + } + + #endif /* !DB_HISPANO */ #endif index = base64toint(server->yxx); if (index >= lastNNServer)