From: Juan B. <tu...@us...> - 2005-07-09 20:19:02
|
Update of /cvsroot/solidircd/solidircd-stable/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17403/src Modified Files: s_conf.c s_debug.c s_user.c zlink.c Log Message: Index: s_conf.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/s_conf.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** s_conf.c 9 Jul 2005 03:09:12 -0000 1.7 --- s_conf.c 9 Jul 2005 20:18:50 -0000 1.8 *************** *** 1015,1027 **** tswarndelta = atoi(tmp->value); } - /* rquit needs to be reviewed by tux is currently bogus. else if(tmp->type && (tmp->type->flag & OPTF_RQUIT)) ! { ! tmp->type = NULL; ! new_confopts |= FLAGS_RQUIT; ! } ! ! */ ! else if(tmp->type && (tmp->type->flag & OPTF_HOSTPREFIX)) { --- 1015,1023 ---- tswarndelta = atoi(tmp->value); } else if(tmp->type && (tmp->type->flag & OPTF_RQUIT)) ! { ! tmp->type = NULL; ! new_confopts |= FLAGS_RQUIT; ! } else if(tmp->type && (tmp->type->flag & OPTF_HOSTPREFIX)) { Index: s_user.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/s_user.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** s_user.c 9 Jul 2005 01:22:50 -0000 1.9 --- s_user.c 9 Jul 2005 20:18:50 -0000 1.10 *************** *** 2428,2433 **** if (!IsServer(cptr)) { ! strcpy(comment, "Quit: "); ! strncpy(comment + 6, reason, TOPICLEN - 6); comment[TOPICLEN] = 0; return exit_client(cptr, sptr, sptr, comment); --- 2428,2439 ---- if (!IsServer(cptr)) { ! if (!(confopts & FLAGS_RQUIT) || IsRegNick(sptr)) ! { ! strcpy(comment, "Quit: "); ! strncpy(comment + 6, reason, TOPICLEN - 6); ! } ! else ! strcpy(comment, "Client Quit"); ! comment[TOPICLEN] = 0; return exit_client(cptr, sptr, sptr, comment); Index: s_debug.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/s_debug.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** s_debug.c 28 Jun 2005 02:24:00 -0000 1.2 --- s_debug.c 9 Jul 2005 20:18:50 -0000 1.3 *************** *** 236,241 **** if (!(confopts & FLAGS_SHOWLINKS)) *s++ = 'L'; ! // if ((confopts & FLAGS_RQUIT)) ! // *s++ = 'Q'; #ifdef HIDE_SERVERMODE_ORIGINS *s++ = 'M'; --- 236,241 ---- if (!(confopts & FLAGS_SHOWLINKS)) *s++ = 'L'; ! if ((confopts & FLAGS_RQUIT)) ! *s++ = 'Q'; #ifdef HIDE_SERVERMODE_ORIGINS *s++ = 'M'; Index: zlink.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/zlink.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** zlink.c 5 Jul 2005 03:17:54 -0000 1.3 --- zlink.c 9 Jul 2005 20:18:50 -0000 1.4 *************** *** 29,34 **** #include <stdlib.h> #include <string.h> - #include "zlib.h" #include "memcount.h" #define COMPRESSION_LEVEL 3 /* 0 to 9, 0 = none */ --- 29,34 ---- #include <stdlib.h> #include <string.h> #include "memcount.h" + #include "zlib.h" #define COMPRESSION_LEVEL 3 /* 0 to 9, 0 = none */ |