Author: WT
authorDanny Mitchell <danny@chatsystems.com>
Sun, 28 Nov 1999 05:43:25 +0000 (05:43 +0000)
committerDanny Mitchell <danny@chatsystems.com>
Sun, 28 Nov 1999 05:43:25 +0000 (05:43 +0000)
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
include/list.h
include/numeric.h

index 3fabcb4f7c02bde8a3860dc16b67621f27946da3..0fe05994a573fbdc5f1d7ba61821e3eed2432d67 100644 (file)
@@ -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
index 5f3a5f972b1613bbc0a03b71e64ec40049cfc0db..e1899aa396139b2cd025aa6adcc5114a587c0e54 100644 (file)
@@ -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
 
index 405067ca2c1f14b4ae357d74c7c305830f60e529..ae886e71737192a729f065137cbe6990b95e70d8 100644 (file)
 #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