From: Gabriel B. <sh...@us...> - 2005-12-04 15:13:53
|
Update of /cvsroot/solidircd/solidircd-stable/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9201/src Modified Files: m_server.c s_serv.c Log Message: more gline reference need to make gline to broadcast glines across servers. Index: m_server.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/m_server.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** m_server.c 9 Jul 2005 23:30:03 -0000 1.4 --- m_server.c 4 Dec 2005 15:13:20 -0000 1.5 *************** *** 235,238 **** --- 235,243 ---- send_simbans(cptr, SBAN_GCOS|SBAN_NETWORK); + /* We need to send our gline list when we link! + + send_glines(cptr, UBAN_GLINE); + + */ /* Send out fake server list and other 'fake' stuff */ fakeserver_sendserver(cptr); Index: s_serv.c =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/src/s_serv.c,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** s_serv.c 4 Dec 2005 08:43:13 -0000 1.11 --- s_serv.c 4 Dec 2005 15:13:20 -0000 1.12 *************** *** 2728,2733 **** --- 2728,2737 ---- "configfile", me.name, parv[0], user, host); + // We need to send glines information to servers ? -Sheik + sendto_serv_butone(cptr, ":%s GLINE %s@%s %l :%s",parv[0], user, host, reason); + sendto_realops("%s added G-Line for [%s@%s] [%s]", parv[0], user, host, reason); + #if defined(LOCKFILE) *************** *** 2900,2903 **** --- 2904,2910 ---- sendto_one(sptr, ":%s NOTICE %s :G-Line for [%s@%s] is removed", me.name, parv[0], user, host); + // We need to send glines info to servers ? -Sheik + sendto_serv_butone(cptr, ":%s GLINE - %s@%s %l :%s", parv[0], user, host, 1); + sendto_ops("%s has removed the G-Line for: [%s@%s] (%d matches)", parv[0], user, host, 1); |