[IRC-Dev CVS] Module ircdh: Change commited ircdh/config config-sh.in,1.3,1.4
Brought to you by:
zolty
From: Zolty <zo...@us...> - 2002-08-15 20:55:26
|
Update of /cvsroot/irc-dev/ircdh/config In directory usw-pr-cvs1:/tmp/cvs-serv7124/ircdh/config Modified Files: config-sh.in Log Message: 2002-08-15 Toni Garcia <zo...@ir...> Comienzo de la ordenacion del codigo. * Muevo todos los defines del whocmds.c al .h ya que nos hara falta cuando pongamos cada comando, un *.c. * Se hacen cambios en muchos variables globales con el fin de facilitar la lectura e interpretacion. Son los siguientes: time_t now; => time_t CurrentTime; struct Client client; => struct Client *GlobalClientList; struct lusers_st nrof; => struct UserStatistics UserStats; struct stats *ircstp; => struct ServerStatistics *ServerStats; struct ConfItem *conf; => struct ConfItem *GlobalConfList; struct DSlink; => struct DLink; * Empiezo a eliminar los alias de structs, ejempo "aClient" pasa a ser "struct Client". Y en algunas funciones agrego "const" cuando han de mantener la variable de forma constante. * Se desactivan temporalmente WATCH y ESNET_ZLIB mientras se va ordenando el codigo, en breves dias estaran activados. * En los archivos .h de la carpeta include meto las cabeceras con el $Id: de control de RCS asi como los nuevos defines al estilo Undernet. * Se mueven los defines *LEN y similiares al nuevo fichero ircd_defs.h. Index: config-sh.in =================================================================== RCS file: /cvsroot/irc-dev/ircdh/config/config-sh.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- config-sh.in 27 Jul 2002 09:55:54 -0000 1.3 +++ config-sh.in 15 Aug 2002 20:55:23 -0000 1.4 @@ -398,9 +398,9 @@ fi bool 'HISPANO/ESNET: XMODE Networking' XMODE_ESNET y bool 'HISPANO/ESNET: Dinamic Negotiation link-by-link' ESNET_NEG y - if [ "$ESNET_NEG" = "y" ]; then - bool 'HISPANO/ESNET: ZLIB compression between servers - ESNET' ZLIB_ESNET y - fi +# if [ "$ESNET_NEG" = "y" ]; then +# bool 'HISPANO/ESNET: ZLIB compression between servers - ESNET' ZLIB_ESNET y +# fi int 'Max auto connects per class (1!)' MAXIMUM_LINKS 1 echo '* Never define this on a production server:' bool 'Enable message logging' MSGLOG_ENABLED @@ -415,10 +415,7 @@ int 'KILL nick chase time limit (30)' KILLCHASETIMELIMIT 30 int 'Max number of channels per user (recommended: 5)' MAXCHANNELSPERUSER 10 int 'Max number of silence masks (15!)' MAXSILES 15 - bool 'Enable notifies nicks witch WATCH' WATCH y - if [ "$WATCH" = "y" ]; then - int 'Max number of WATCH entries (128)' MAXWATCH 128 - fi + int 'Max number of WATCH entries (128)' MAXWATCH 128 int 'Expected average banmask length (40!)' AVBANLEN 40 eval define_macro MAXSILELENGTH \'\($AVBANLEN * MAXSILES\)\' echo '* These are default values, used for class 0:' |