From a68bf41f73418f7203dc973b29563d9e25e84a57 Mon Sep 17 00:00:00 2001 From: Danny Mitchell Date: Sun, 28 Nov 1999 05:43:25 +0000 Subject: [PATCH] Author: WT Log message: Cleaning things up a bit. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@8 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- config/config-sh.in | 8 ++++---- include/list.h | 2 +- include/numeric.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/config-sh.in b/config/config-sh.in index 3fabcb4..0fe0599 100644 --- a/config/config-sh.in +++ b/config/config-sh.in @@ -229,13 +229,13 @@ comment 'Logging (filenames are either full paths or files within DPATH)' fi comment 'Bad Channel G-Lines allow operators to add channel masks to a list which prohibits local clients from being able joining channels which match the mask. Remote BadChan Glines allow Uworld to add or remove channels from the servers internal list of badchans' - WT_BADCHAN=y - bool 'Do you want to enable Bad Channel G-lines' WT_BADCHAN - if [ "$WT_BADCHAN" = "y" ]; then + BADCHAN=y + bool 'Do you want to enable Bad Channel G-lines' BADCHAN + if [ "$BADCHAN" = "y" ]; then echo " " echo " WARNING DO _NOT_ USE LOCAL BADCHANNEL GLINES ON UNDERNET" echo " Use of LOCAL BAD Channel G-Lines can be cause for REMOVAL" - bool 'Allow LOCAL BAD Channel G-lines' WT_LOCAL_BADCHAN + bool 'Allow LOCAL BAD Channel G-lines' LOCAL_BADCHAN fi bool 'Do you want to log G-lines to a separate file' CONFIG_LOG_GLINES diff --git a/include/list.h b/include/list.h index 5f3a5f9..e1899aa 100644 --- a/include/list.h +++ b/include/list.h @@ -66,7 +66,7 @@ extern aGline *make_gline(int is_ipmask, char *host, char *reason, char *name, extern aGline *find_gline(aClient *cptr, aGline **pgline); extern void free_gline(aGline *agline, aGline *pgline); extern void send_listinfo(aClient *cptr, char *name); -#ifdef WT_BADCHAN +#ifdef BADCHAN extern int bad_channel(char *name); #endif diff --git a/include/numeric.h b/include/numeric.h index 405067c..ae886e7 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -102,8 +102,8 @@ #define ERR_BADCHANMASK 476 /* Undernet extension */ /* ERR_NEEDREGGEDNICK 477 DalNet Extention */ #define ERR_BANLISTFULL 478 /* Undernet extension */ -/* #define ERR_BADCHANNAME 479 EFNet extension */ - +#define ERR_BADCHANNAME 479 /* EFNet extension */ + /* 479 Undernet extension badchan*/ #define ERR_NOPRIVILEGES 481 #define ERR_CHANOPRIVSNEEDED 482 #define ERR_CANTKILLSERVER 483 -- 2.20.1