mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-31 15:32:26 +01:00
Code (comments) cleanup. Yes very usefull.. ahem ;).
This commit is contained in:
parent
0dde38dd6a
commit
c177eb2580
3 changed files with 51 additions and 47 deletions
1
Changes
1
Changes
|
@ -1883,3 +1883,4 @@ seen. gmtime warning still there
|
|||
- Added the ability to enable ziplinks via ./Config as well as specify a directory zlib is
|
||||
in. Also added the ability to specify a directory for OpenSSL.
|
||||
- ZIP_LINKS fixes/debugging.
|
||||
- Code (comments) cleanup
|
||||
|
|
|
@ -259,40 +259,43 @@ typedef unsigned int u_int32_t; /* XXX Hope this works! */
|
|||
#define OPT_VHP 0x1000
|
||||
#define OPT_NOT_VHP 0x2000
|
||||
|
||||
/* client->flags (32 bits): 28 used, 4 free */
|
||||
#define FLAGS_PINGSENT 0x0001 /* Unreplied ping sent */
|
||||
#define FLAGS_DEADSOCKET 0x0002 /* Local socket is dead--Exiting soon */
|
||||
#define FLAGS_KILLED 0x0004 /* Prevents "QUIT" from being sent for this */
|
||||
#define FLAGS_BLOCKED 0x0008 /* socket is in a blocked condition */
|
||||
/* #define FLAGS_UNIX 0x0010 */
|
||||
#define FLAGS_UNOCCUP1 0x0010 /* [FREE] */
|
||||
#define FLAGS_CLOSING 0x0020 /* set when closing to suppress errors */
|
||||
#define FLAGS_LISTEN 0x0040 /* used to mark clients which we listen() on */
|
||||
#define FLAGS_CHKACCESS 0x0080 /* ok to check clients access if set */
|
||||
#define FLAGS_DOINGDNS 0x0100 /* client is waiting for a DNS response */
|
||||
#define FLAGS_AUTH 0x0200 /* client is waiting on rfc931 response */
|
||||
#define FLAGS_AUTH 0x0200 /* client is waiting on rfc931 response */
|
||||
#define FLAGS_WRAUTH 0x0400 /* set if we havent writen to ident server */
|
||||
#define FLAGS_LOCAL 0x0800 /* set for local clients */
|
||||
#define FLAGS_GOTID 0x1000 /* successful ident lookup achieved */
|
||||
#define FLAGS_DOID 0x2000 /* I-lines say must use ident return */
|
||||
#define FLAGS_NONL 0x4000 /* No \n in buffer */
|
||||
#define FLAGS_TS8 0x8000 /* Why do you want to know? */
|
||||
#define FLAGS_ULINE 0x10000 /* User/server is considered U-lined */
|
||||
#define FLAGS_SQUIT 0x20000 /* Server has been /squit by an oper */
|
||||
#define FLAGS_PROTOCTL 0x40000 /* Received a PROTOCTL message */
|
||||
#define FLAGS_PING 0x80000
|
||||
#define FLAGS_ASKEDPING 0x100000
|
||||
#define FLAGS_NETINFO 0x200000
|
||||
#define FLAGS_HYBNOTICE 0x400000
|
||||
#define FLAGS_QUARANTINE 0x800000
|
||||
#define FLAGS_LOCAL 0x0800 /* set for local clients */
|
||||
#define FLAGS_GOTID 0x1000 /* successful ident lookup achieved */
|
||||
#define FLAGS_DOID 0x2000 /* I-lines say must use ident return */
|
||||
#define FLAGS_NONL 0x4000 /* No \n in buffer */
|
||||
#define FLAGS_TS8 0x8000 /* Why do you want to know? */
|
||||
#define FLAGS_ULINE 0x10000 /* User/server is considered U-lined */
|
||||
#define FLAGS_SQUIT 0x20000 /* Server has been /squit by an oper */
|
||||
#define FLAGS_PROTOCTL 0x40000 /* Received a PROTOCTL message */
|
||||
#define FLAGS_PING 0x80000
|
||||
#define FLAGS_ASKEDPING 0x100000
|
||||
#define FLAGS_NETINFO 0x200000
|
||||
#define FLAGS_HYBNOTICE 0x400000
|
||||
#define FLAGS_QUARANTINE 0x800000
|
||||
#ifdef ZIP_LINKS
|
||||
#define FLAGS_ZIP 0x1000000
|
||||
#define FLAGS_ZIP 0x1000000
|
||||
#endif
|
||||
#define FLAGS_UNOCCUP3 0x2000000
|
||||
#define FLAGS_UNOCCUP2 0x2000000 /* [FREE] */
|
||||
#define FLAGS_SHUNNED 0x4000000
|
||||
#define FLAGS_UNOCCUP3 0x8000000 /* [FREE] */
|
||||
#ifdef USE_SSL
|
||||
#define FLAGS_SSL 0x10000000
|
||||
#define FLAGS_SSL 0x10000000
|
||||
#endif
|
||||
#define FLAGS_DCCBLOCK 0x40000000
|
||||
#define FLAGS_MAP 0x80000000 /* Show this entry in /map */
|
||||
#define FLAGS_UNOCCUP4 0x20000000 /* [FREE] */
|
||||
#define FLAGS_DCCBLOCK 0x40000000
|
||||
#define FLAGS_MAP 0x80000000 /* Show this entry in /map */
|
||||
/* Dec 26th, 1997 - added flags2 when I ran out of room in flags -DuffJ */
|
||||
|
||||
/* Dec 26th, 1997 - having a go at
|
||||
|
|
54
src/umodes.c
54
src/umodes.c
|
@ -46,33 +46,33 @@ extern char umodestring[UMODETABLESZ+1];
|
|||
aUMtable *Usermode_Table = NULL;
|
||||
short Usermode_highest = 0;
|
||||
|
||||
long UMODE_INVISIBLE = 0L; /* 0x0001 makes user invisible */
|
||||
long UMODE_OPER = 0L; /* 0x0002 Operator */
|
||||
long UMODE_WALLOP = 0L; /* 0x0004 send wallops to them */
|
||||
long UMODE_FAILOP = 0L; /* 0x0008 Shows some global messages */
|
||||
long UMODE_HELPOP = 0L; /* 0x0010 Help system operator */
|
||||
long UMODE_REGNICK = 0L; /* 0x0020 Nick set by services as registered */
|
||||
long UMODE_SADMIN = 0L; /* 0x0040 Services Admin */
|
||||
long UMODE_ADMIN = 0L; /* 0x0080 Admin */
|
||||
long UMODE_SERVNOTICE = 0L;/* 0x0100 server notices such as kill */
|
||||
long UMODE_LOCOP = 0L; /* 0x0200 Local operator -- SRB */
|
||||
long UMODE_RGSTRONLY = 0L; /* 0x0400 Only reg nick message */
|
||||
long UMODE_WEBTV = 0L; /* 0x0800 WebTV Client */
|
||||
long UMODE_SERVICES = 0L; /* 0x4000 services */
|
||||
long UMODE_HIDE = 0L; /* 0x8000 Hide from Nukes */
|
||||
long UMODE_NETADMIN = 0L; /* 0x10000 Network Admin */
|
||||
long UMODE_COADMIN = 0L; /* 0x80000 Co Admin */
|
||||
long UMODE_WHOIS = 0L; /* 0x100000 gets notice on /whois */
|
||||
long UMODE_KIX = 0L; /* 0x200000 usermode +q */
|
||||
long UMODE_BOT = 0L; /* 0x400000 User is a bot */
|
||||
long UMODE_SECURE = 0L; /* 0x800000 User is a secure connect */
|
||||
long UMODE_HIDING = 0L; /* 0x2000000 Totally invisible .. */
|
||||
long UMODE_VICTIM = 0L; /* 0x8000000 Intentional Victim */
|
||||
long UMODE_DEAF = 0L; /* 0x10000000 Deaf */
|
||||
long UMODE_HIDEOPER = 0L; /* 0x20000000 Hide oper mode */
|
||||
long UMODE_SETHOST = 0L; /* 0x40000000 used sethost */
|
||||
long UMODE_STRIPBADWORDS = 0L; /* 0x80000000 */
|
||||
|
||||
/* cptr->umodes (32 bits): 26 used, 6 free */
|
||||
long UMODE_INVISIBLE = 0L; /* makes user invisible */
|
||||
long UMODE_OPER = 0L; /* Operator */
|
||||
long UMODE_WALLOP = 0L; /* send wallops to them */
|
||||
long UMODE_FAILOP = 0L; /* Shows some global messages */
|
||||
long UMODE_HELPOP = 0L; /* Help system operator */
|
||||
long UMODE_REGNICK = 0L; /* Nick set by services as registered */
|
||||
long UMODE_SADMIN = 0L; /* Services Admin */
|
||||
long UMODE_ADMIN = 0L; /* Admin */
|
||||
long UMODE_SERVNOTICE = 0L; /* server notices such as kill */
|
||||
long UMODE_LOCOP = 0L; /* Local operator -- SRB */
|
||||
long UMODE_RGSTRONLY = 0L; /* Only reg nick message */
|
||||
long UMODE_WEBTV = 0L; /* WebTV Client */
|
||||
long UMODE_SERVICES = 0L; /* services */
|
||||
long UMODE_HIDE = 0L; /* Hide from Nukes */
|
||||
long UMODE_NETADMIN = 0L; /* Network Admin */
|
||||
long UMODE_COADMIN = 0L; /* Co Admin */
|
||||
long UMODE_WHOIS = 0L; /* gets notice on /whois */
|
||||
long UMODE_KIX = 0L; /* usermode +q */
|
||||
long UMODE_BOT = 0L; /* User is a bot */
|
||||
long UMODE_SECURE = 0L; /* User is a secure connect */
|
||||
long UMODE_HIDING = 0L; /* Totally invisible .. */
|
||||
long UMODE_VICTIM = 0L; /* Intentional Victim */
|
||||
long UMODE_DEAF = 0L; /* Deaf */
|
||||
long UMODE_HIDEOPER = 0L; /* Hide oper mode */
|
||||
long UMODE_SETHOST = 0L; /* Used sethost */
|
||||
long UMODE_STRIPBADWORDS = 0L; /* Strip badwords */
|
||||
|
||||
|
||||
void umode_init(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue