1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 06:03:12 +02:00

Merge of 3.1-final (Mon Aug 7 18:39:12 BST 2000)

This commit is contained in:
cmunk
2000-08-07 17:39:33 +00:00
parent e5191d37e4
commit 2e969a14c7
65 changed files with 2364 additions and 2426 deletions
+6 -4
View File
@@ -140,6 +140,7 @@ typedef unsigned int u_int32_t; /* XXX Hope this works! */
#define BOOT_TTY 16
#define BOOT_OPER 32
#define BOOT_AUTODIE 64
#define BOOT_NOFORK 128
#define STAT_LOG -6 /* logfile for -x */
#define STAT_CONNECTING -4
@@ -267,7 +268,7 @@ typedef unsigned int u_int32_t; /* XXX Hope this works! */
#define PROTO_NICKv2 0x8 /* Negotiated NICKv2 protocol */
#define PROTO_SJOIN2 0x10 /* Negotiated SJOIN2 protocol */
#define PROTO_UMODE2 0x20 /* Negotiated UMODE2 protocol */
#define PROTO_ALN 0x40 /* Negotiated ALN protocol */
#define PROTO_NS 0x40 /* Negotiated NS protocol */
#define PROTO_ZIP 0x80 /* Negotiated ZIP protocol */
#define PROTO_VL 0x100 /* Negotiated VL protocol */
#define PROTO_SJ3 0x200 /* Negotiated SJ3 protocol */
@@ -405,7 +406,7 @@ typedef unsigned int u_int32_t; /* XXX Hope this works! */
#define SupportNICKv2(x) ((x)->proto & PROTO_NICKv2)
#define SupportSJOIN2(x) ((x)->proto & PROTO_SJOIN2)
#define SupportUMODE2(x) ((x)->proto & PROTO_UMODE2)
#define SupportALN(x) ((x)->proto & PROTO_ALN)
#define SupportNS(x) ((x)->proto & PROTO_NS)
#define SupportVL(x) ((x)->proto & PROTO_VL)
#define SupportSJ3(x) ((x)->proto & PROTO_SJ3)
#define SupportVHP(x) ((x)->proto & PROTO_VHP)
@@ -416,7 +417,7 @@ typedef unsigned int u_int32_t; /* XXX Hope this works! */
#define SetNICKv2(x) ((x)->proto |= PROTO_NICKv2)
#define SetSJOIN2(x) ((x)->proto |= PROTO_SJOIN2)
#define SetUMODE2(x) ((x)->proto |= PROTO_UMODE2)
#define SetALN(x) ((x)->proto |= PROTO_ALN)
#define SetNS(x) ((x)->proto |= PROTO_NS)
#define SetVL(x) ((x)->proto |= PROTO_VL)
#define SetSJ3(x) ((x)->proto |= PROTO_SJ3)
#define SetVHP(x) ((x)->proto |= PROTO_VHP)
@@ -705,6 +706,7 @@ struct Server {
char by[NICKLEN + 1];
aConfItem *nline; /* N-line pointer for this server */
time_t timestamp; /* Remotely determined connect try time */
unsigned short numeric; /* NS numeric, 0 if none */
#ifdef LIST_DEBUG
aClient *bcptr;
#endif
@@ -926,7 +928,7 @@ struct SMode {
/* x:y */
int msgs; /* x */
int per; /* y */
int kmode; /* mode 0 = kick 1 = ban */
unsigned short kmode; /* mode 0 = kick 1 = ban */
};
/* Message table structure */