*** ../ircu2.10.04/ircd/s_debug.c Thu Jun 18 11:41:41 1998 --- ../ircu2.10.04+/ircd/s_debug.c Thu Jun 18 11:41:55 1998 *************** *** 196,202 **** '-', #endif #endif ! 'D','B','2', #ifdef DB_ESNET '+', #else --- 196,202 ---- '-', #endif #endif ! 'D','B','3', #ifdef DB_ESNET '+', #else *** ../ircu2.10.04/ircd/s_serv.c Thu Jun 18 10:43:19 1998 --- ../ircu2.10.04+/ircd+/s_serv.c Thu Jun 18 11:41:33 1998 *************** *** 1414,1430 **** if(db_file==0) return 0; /* Problemas con la DB */ do { p=strchr(db_buf,' '); ! if(p==NULL) return 0; *p++='\0'; p2=strchr(p,' '); ! if(p2==NULL) return 0; *p2++='\0'; sendto_one(sptr,"%c DB %s %s %s",me.yxx[0],p,db_buf,p2); if(!(--cont)) break; } while(leer_db(db_file,db_buf)!=-1); close(db_file); - sendto_one(sptr,"%c DB %s 0 B %lu",me.yxx[0],parv[0],db_num_serie_local); if(cont) sptr->serv->esnet_db=!0; return 0; break; } --- 1414,1430 ---- if(db_file==0) return 0; /* Problemas con la DB */ do { p=strchr(db_buf,' '); ! if(p==NULL) continue; *p++='\0'; p2=strchr(p,' '); ! if(p2==NULL) continue; *p2++='\0'; sendto_one(sptr,"%c DB %s %s %s",me.yxx[0],p,db_buf,p2); if(!(--cont)) break; } while(leer_db(db_file,db_buf)!=-1); close(db_file); if(cont) sptr->serv->esnet_db=!0; + else sendto_one(sptr,"%c DB %s 0 B %lu",me.yxx[0],parv[0],db_num_serie_local); return 0; break; } *** ../ircu2.10.04/ircd/s_user.c Thu Jun 18 10:18:49 1998 --- ../ircu2.10.04+/ircd/s_user.c Thu Jun 18 10:23:36 1998 *************** *** 590,596 **** --- 590,600 ---- #endif return exit_client(cptr, sptr, &me, "Bad Password"); } + + #ifndef DB_ESNET memset(sptr->passwd, 0, sizeof(sptr->passwd)); + #endif + /* * following block for the benefit of time-dependent K:-lines */