[X2serv-cvs] [CVS] Module x2: Change committed
Brought to you by:
sirvulcan
From: Reed L. <r3...@us...> - 2003-10-24 02:52:25
|
Committer : Reed Loden <r3...@us...> CVSROOT : /cvsroot/x2serv Module : x2 Commit time: 2003-10-24 02:50:28 UTC Modified files: source/parse.c source/server.c Log message: Modified gline reasons to work with evilnet ircd. ---------------------- diff included ---------------------- Index: x2/source/parse.c diff -u x2/source/parse.c:1.81 x2/source/parse.c:1.82 --- x2/source/parse.c:1.81 Sat Jun 14 15:51:44 2003 +++ x2/source/parse.c Thu Oct 23 19:50:18 2003 @@ -1297,7 +1297,7 @@ return(0); case 2: sprintf(uh, "*@%s", unsigned32ToDotQuad(from->IP)); - send_gline(uh, 3600, "%s", "Sub7 trojan detected"); + send_gline(uh, 3600, "%s", "<X2> Sub7 trojan detected"); return(0); default: Debug(DBGINFO, "Unknown SUB7SCAN setting"); return(0); @@ -1312,7 +1312,7 @@ return(0); case 2: sprintf(uh, "*@%s", unsigned32ToDotQuad(from->IP)); - send_gline(uh, 3600, "%s", "Litmus trojan detected"); + send_gline(uh, 3600, "%s", "<X2> Litmus trojan detected"); return(0); default: Debug(DBGINFO, "Unknown LITMUS setting"); return(0); @@ -1327,7 +1327,7 @@ return(0); case 2: sprintf(uh, "*@%s", unsigned32ToDotQuad(from->IP)); - send_gline(uh, 3600, "%s", "SDBot trojan detected"); + send_gline(uh, 3600, "%s", "<X2> SDBot trojan detected"); return(0); default: Debug(DBGINFO, "Unknown SDBOT setting"); return(0); Index: x2/source/server.c diff -u x2/source/server.c:1.21 x2/source/server.c:1.22 --- x2/source/server.c:1.21 Sat Jun 14 06:23:40 2003 +++ x2/source/server.c Thu Oct 23 19:50:18 2003 @@ -160,7 +160,7 @@ if(!matches(urbuff, ur)) { sprintf(Address, "*@%s", IP); - sprintf(reason, "Added automatically from SuperGline(%s)", gptr->reason); + sprintf(reason, "<SuperGline> %s", gptr->reason); send_gline(Address, 3600, "%s", reason); ProcessAddGline(Address, 3600, reason); Debug(DBGINFO, "Supergline matched: %s", gptr->reason); @@ -173,7 +173,7 @@ if(!matches(gptr->address, uhr)) { sprintf(Address, "*@%s", IP); - sprintf(reason, "Added automatically from SuperGline(%s)", gptr->reason); + sprintf(reason, "<SuperGline> %s", gptr->reason); send_gline(Address, 3600, "%s", reason); ProcessAddGline(Address, 3600, reason); return(TRUE); ----------------------- End of diff ----------------------- |