Update of /cvsroot/x2serv/x2/source
In directory usw-pr-cvs1:/tmp/cvs-serv15423
Modified Files:
config.h gate.c
Log Message:
Took the word "AfterNET" out of the gatecheck code and replaced it with
constant AFTERNET
Index: config.h
===================================================================
RCS file: /cvsroot/x2serv/x2/source/config.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -r1.56 -r1.57
*** config.h 2001/03/02 12:23:22 1.56
--- config.h 2001/03/02 13:00:55 1.57
***************
*** 47,51 ****
/* This is used to refer to your network in various places. It should be one word, eg "AfterNET" */
#define NETWORK "Loxxin"
! #define HELPURL "http://x2.afternet.org"
#define OPERHELPFILE "HELP/operhelp.txt"
--- 47,51 ----
/* This is used to refer to your network in various places. It should be one word, eg "AfterNET" */
#define NETWORK "Loxxin"
! #define HELPURL "http://x2.afternet.org"
#define OPERHELPFILE "HELP/operhelp.txt"
Index: gate.c
===================================================================
RCS file: /cvsroot/x2serv/x2/source/gate.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** gate.c 2001/02/13 11:47:53 1.17
--- gate.c 2001/03/02 13:00:55 1.18
***************
*** 319,324 ****
sprintf(uhost, "*@%s", GatePtr->iphost);
! sprintf(reason, "<%s> 1hr ban -- %s[%s] Your Site has an insecure wingate! ACCESS to AFTERNET IRC NETWORK is DENIED! see %s for more information!",
! IrcNick, GatePtr->nick, GatePtr->iphost,GATEURL);
if(GATECHECK == 2)
{
--- 319,324 ----
sprintf(uhost, "*@%s", GatePtr->iphost);
! sprintf(reason, "<%s> 1hr ban -- %s[%s] Your Site has an insecure wingate! ACCESS to %s IRC NETWORK is DENIED! see %s for more information!",
! IrcNick, GatePtr->nick, GatePtr->iphost,NETWORK,GATEURL);
if(GATECHECK == 2)
{
|