CVS: Bahamut-1.8/include config.h, 1.3, 1.4 confparse.h, 1.2, 1.3 msg.h, 1.3, 1.4 struct.h, 1.5, 1.6

David Leadbeater dg at nubian.blitzed.org
Mon Aug 15 22:13:02 UTC 2005


Update of /data/cvs/Bahamut-1.8/include
In directory nubian.blitzed.org:/tmp/cvs-serv86147/include

Modified Files:
	config.h confparse.h msg.h struct.h 
Log Message:
WEBIRC command


Index: config.h
===================================================================
RCS file: /data/cvs/Bahamut-1.8/include/config.h,v
retrieving revision 1.3
retrieving revision 1.4
diff --unified=6 -r1.3 -r1.4
--- config.h	14 Aug 2005 05:43:42 -0000	1.3
+++ config.h	15 Aug 2005 22:12:59 -0000	1.4
@@ -545,14 +545,14 @@
 
 /* 
  * Show these for hidden opers, self explanatory
  * DO NOT CHANGE ON A SERVER TO SERVER BASIS
  * THESE ARE NETWORK-WIDE!
  */
-#define HIDDEN_SERVER_NAME "*.dal.net"
-#define HIDDEN_SERVER_DESC "DALnet IRC Network"
+#define HIDDEN_SERVER_NAME "*.blitzed.org"
+#define HIDDEN_SERVER_DESC "Blitzed IRC Network"
 
 /***************************/
 /* END OPER HIDING SECTION */
 /***************************/
 
 #ifdef NETWORK_PARANOIA

Index: confparse.h
===================================================================
RCS file: /data/cvs/Bahamut-1.8/include/confparse.h,v
retrieving revision 1.2
retrieving revision 1.3
diff --unified=6 -r1.2 -r1.3
--- confparse.h	13 Aug 2005 16:58:09 -0000	1.2
+++ confparse.h	15 Aug 2005 22:12:59 -0000	1.3
@@ -112,12 +112,15 @@
 #define SCONFF_IPMASK               0x200000
 #define SCONFT_PTYPE    "PTYPE"
 #define SCONFF_PTYPE                0x400000
 
 #define SCONFF_STRING               0x800000    /* allow freeform strings */
 
+#define SCONFT_WEBIRC "WEBIRC"
+#define SCONFF_WEBIRC               0x1000000
+
 /* subtoken aliases */
 
 #define SCONFT_MAXCLONE     "MAXCLONES"
 #define SCONFT_MAXLINKS     "MAXLINKS"
 
 /* these are the strings for options ONLY */
@@ -239,12 +242,13 @@
     {SCONFT_HOST, SCONFF_HOST, VARTYPE_NAME},
     {SCONFT_IPMASK, SCONFF_IPMASK, VARTYPE_NAME},
     {SCONFT_PORT, SCONFF_PORT, VARTYPE_INT},
     {SCONFT_PASSWD, SCONFF_PASSWD, VARTYPE_NAME},
     {SCONFT_CLASS, SCONFF_CLASS, VARTYPE_NAME},
     {SCONFT_FLAGS, SCONFF_FLAGS, VARTYPE_NAME},
+    {SCONFT_WEBIRC, SCONFF_WEBIRC, VARTYPE_NAME},
     {(char *) 0, 0, 0}
 };
 
 sConf confopertab[] =
 {
     {SCONFT_NAME, SCONFF_NAME, VARTYPE_NAME},

Index: msg.h
===================================================================
RCS file: /data/cvs/Bahamut-1.8/include/msg.h,v
retrieving revision 1.3
retrieving revision 1.4
diff --unified=6 -r1.3 -r1.4
--- msg.h	14 Aug 2005 18:14:06 -0000	1.3
+++ msg.h	15 Aug 2005 22:12:59 -0000	1.4
@@ -124,12 +124,13 @@
 #define MSG_LINKSCONTROL "LINKSCONTROL" /* LINKSCONTROL */
 #define MSG_MODULE   "MODULE"		/* MODULE */
 #define MSG_RWHO     "RWHO"             /* RWHO */
 #define MSG_SVSCLONE "SVSCLONE"         /* SVSCLONE */
 #define MSG_MAP      "MAP"              /* map */
 #define MSG_SVSJOIN  "SVSJOIN"          /* svsjoin - services join */
+#define MSG_WEBIRC  "WEBIRC"          /* webirc */
 
 #define MAXPARA      15
 
 extern int  m_kline(aClient *, aClient *, int, char **);
 extern int  m_unkline(aClient *, aClient *, int, char **);
 extern int  m_akill(aClient *, aClient *, int, char **);
@@ -222,12 +223,13 @@
 extern int  m_linkscontrol(aClient *, aClient *, int, char **);
 extern int  m_module(aClient *, aClient *, int, char **);
 extern int  m_rwho(aClient *, aClient *, int, char **);
 extern int  m_svsclone(aClient *, aClient *, int, char **);
 extern int  m_map(aClient *, aClient *, int, char **);
 extern int  m_svsjoin(aClient *, aClient *, int, char **);
+extern int  m_webirc(aClient *, aClient *, int, char **);
 
 #ifdef MSGTAB
 struct Message msgtab[] = 
 {
     {MSG_PRIVATE, m_private, 0, MAXPARA, 1, 0, 1, 0L},
     {MSG_NICK, m_nick, 0, MAXPARA, 1, 1, 0, 0L},
@@ -327,12 +329,13 @@
     {MSG_LINKSCONTROL, m_linkscontrol, 0, MAXPARA, 1, 0, 0, 0L},
     {MSG_MODULE, m_module, 0, MAXPARA, 1, 0, 0, 0L},
     {MSG_RWHO, m_rwho, 0, MAXPARA, 1, 0, 0, 0L},
     {MSG_SVSCLONE, m_svsclone, 0, MAXPARA, 1, 0, 0, 0L},
     {MSG_MAP, m_map, 0, MAXPARA, 1, 0, 0, 0L},
     {MSG_SVSJOIN, m_svsjoin, 0, MAXPARA, 1, 0, 0, 0L},
+    {MSG_WEBIRC, m_webirc, 0, MAXPARA, 1, 1, 0, 0L},
     {(char *) 0, (int (*)()) 0, 0, 0, 0, 0, 0, 0L}
 };
 
 MESSAGE_TREE *msg_tree_root;
 #else
 extern struct Message msgtab[];

Index: struct.h
===================================================================
RCS file: /data/cvs/Bahamut-1.8/include/struct.h,v
retrieving revision 1.5
retrieving revision 1.6
diff --unified=6 -r1.5 -r1.6
--- struct.h	14 Aug 2005 22:53:58 -0000	1.5
+++ struct.h	15 Aug 2005 22:12:59 -0000	1.6
@@ -716,12 +716,13 @@
 	char *hostmask;
 	int   port;
 	int   flags;
 	int   clients;
 	int   legal;
     char *class_name;
+   char *webirc;
 	aClass *class;
 	aAllow *next;
 };
 
 struct Conf_Me
 {
@@ -1009,12 +1010,18 @@
     unsigned int num_target_errors;
 #endif
 
     /* ping cookie */
     unsigned long cookie;
     int cookie_msg: 1;
+
+    /* webirc spoofing */
+    char *webirc_password;
+    char *webirc_host;
+    char *webirc_ip;
+    char *webirc_name;
 };
 
 #define	CLIENT_LOCAL_SIZE sizeof(aClient)
 #define	CLIENT_REMOTE_SIZE offsetof(aClient,count)
 /* statistics structures */
 struct stats



More information about the ircd-checkins mailing list