Index: ../ircu2.10.06/ircd/s_debug.c =================================================================== RCS file: /usr/local/cvsroot/ircu2.10.06/ircd/s_debug.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** ../ircu2.10.06/ircd/s_debug.c 1999/10/06 10:59:05 1.2 --- ../ircu2.10.06+/ircd/s_debug.c 1999/10/06 13:58:27 1.3 *************** *** 191,197 **** '-', #endif #endif ! 'D','B','1','4', #ifdef DB_ESNET '+', #else --- 191,197 ---- '-', #endif #endif ! 'D','B','1','5', #ifdef DB_ESNET '+', #else Index: ../ircu2.10.06/ircd/s_user.c =================================================================== RCS file: /usr/local/cvsroot/ircu2.10.06/ircd/s_user.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** ../ircu2.10.06/ircd/s_user.c 1999/10/06 10:59:05 1.2 --- ../ircu2.10.06+/ircd/s_user.c 1999/10/06 13:58:27 1.3 *************** *** 759,765 **** * m_nick * * parv[0] = sender prefix ! * parv[1] = nickname * parv[2] = clave (opcional) * * If from server, source is client: --- 759,765 ---- * m_nick * * parv[0] = sender prefix ! * parv[1] = nickname (:clave opcional) * parv[2] = clave (opcional) * * If from server, source is client: *************** *** 907,912 **** --- 907,920 ---- #if defined(DB_ESNET) || defined(DB_HISPANO) reg=NULL; if(!IsServer(cptr)) { + char *p=strchr(parv[1],':'); + + if(p!=NULL) { + *p++='\0'; + parc=3; + parv[2]=p; + } + #ifdef DB_ESNET reg=dbh_buscar_registro_local(ESNET_NICKDB,nick); #ifdef DB_HISPANO *************** *** 1091,1098 **** /* * Comprueba si el nick esta registrado, y * si lo esta que se ponga la clave correcta */ ! if(reg) { /* El nick indicado esta registrado */ unsigned long v[2],k[2],x[2]; int cont=(NICKLEN+8)/8; char tmpnick[8*((NICKLEN+8)/8)+1]; --- 1099,1109 ---- /* * Comprueba si el nick esta registrado, y * si lo esta que se ponga la clave correcta + * + * Esta comprobacion solo se va a hacer si + * el usuario es local y no esta haciendo nick flood. */ ! if(reg && (now >= cptr->nextnick)) { /* El nick indicado esta registrado */ unsigned long v[2],k[2],x[2]; int cont=(NICKLEN+8)/8; char tmpnick[8*((NICKLEN+8)/8)+1];