From: Gabriel B. <sh...@us...> - 2005-12-04 07:39:13
|
Update of /cvsroot/solidircd/solidircd-stable/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1242/src Modified Files: s_serv.c s_user.c userban.c Log Message: minor updates. Index: userban.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/userban.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** userban.c 4 Dec 2005 07:14:07 -0000 1.6 --- userban.c 4 Dec 2005 07:39:03 -0000 1.7 *************** *** 1633,1636 **** --- 1633,1637 ---- ntext = LOCAL_BAN_NAME; } + if (!(reason = ban->reason)) Index: s_user.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/s_user.c,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** s_user.c 4 Dec 2005 07:14:07 -0000 1.14 --- s_user.c 4 Dec 2005 07:39:03 -0000 1.15 *************** *** 944,948 **** char *reason, *ktype; int local; ! /* char *gtype; int global; --- 944,948 ---- char *reason, *ktype; int local; ! char *gtype; int global; *************** *** 951,955 **** gtype = global ? NETWORK_GLINE_NAME : NETWORK_GLINNED_NAME; reason = ban->reason ? ban->reason : gtype; ! */ local = (ban->flags & UBAN_LOCAL) ? 1 : 0; --- 951,955 ---- gtype = global ? NETWORK_GLINE_NAME : NETWORK_GLINNED_NAME; reason = ban->reason ? ban->reason : gtype; ! local = (ban->flags & UBAN_LOCAL) ? 1 : 0; Index: s_serv.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/s_serv.c,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** s_serv.c 4 Dec 2005 07:14:07 -0000 1.9 --- s_serv.c 4 Dec 2005 07:39:03 -0000 1.10 *************** *** 2628,2632 **** !match(host, "ldksjfl.kss...kdjfd.jfklsjf")) { ! sendto_one(sptr, ":%s NOTICE %s :Can't K-Line *@*", me.name, parv[0]); return 0; --- 2628,2632 ---- !match(host, "ldksjfl.kss...kdjfd.jfklsjf")) { ! sendto_one(sptr, ":%s NOTICE %s :Can't G-Line *@*", me.name, parv[0]); return 0; *************** *** 2661,2665 **** { char *gtype = (oban->flags & UBAN_GLINE) ? ! NETWORK_GLINE_NAME : NETWORK_GLINNE_NAME; sendto_one(sptr, ":%s NOTICE %s :[%s@%s] already %s for %s", --- 2661,2665 ---- { char *gtype = (oban->flags & UBAN_GLINE) ? ! NETWORK_GLINE_NAME : NETWORK_GLINNED_NAME; sendto_one(sptr, ":%s NOTICE %s :[%s@%s] already %s for %s", *************** *** 2710,2714 **** } ! /* from here on, we're dealing with a perm kline */ filename = configfile; --- 2710,2714 ---- } ! /* from here on, we're dealing with a perm gline */ filename = configfile; |