0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

Remove unused CONF_FLAGS_DO_IDENTD and FLAGS_NEEDID.

This commit is contained in:
Jilles Tjoelker 2007-12-24 20:32:41 +01:00
parent 29c55c49f2
commit 86142e83d7
3 changed files with 0 additions and 12 deletions

View file

@ -417,7 +417,6 @@ struct exit_client_hook
#define FLAGS_SENTUSER 0x0008 /* Client sent a USER command. */ #define FLAGS_SENTUSER 0x0008 /* Client sent a USER command. */
#define FLAGS_CLOSING 0x0020 /* set when closing to suppress errors */ #define FLAGS_CLOSING 0x0020 /* set when closing to suppress errors */
#define FLAGS_GOTID 0x0080 /* successful ident lookup achieved */ #define FLAGS_GOTID 0x0080 /* successful ident lookup achieved */
#define FLAGS_NEEDID 0x0100 /* I-lines say must use ident return */
#define FLAGS_NORMALEX 0x0400 /* Client exited normally */ #define FLAGS_NORMALEX 0x0400 /* Client exited normally */
#define FLAGS_SENDQEX 0x0800 /* Sendq exceeded */ #define FLAGS_SENDQEX 0x0800 /* Sendq exceeded */
#define FLAGS_SERVLINK 0x10000 /* servlink has servlink process */ #define FLAGS_SERVLINK 0x10000 /* servlink has servlink process */
@ -470,8 +469,6 @@ struct exit_client_hook
UMODE_WALLOP | UMODE_LOCOPS) UMODE_WALLOP | UMODE_LOCOPS)
#define DEFAULT_OPER_SNOMASK SNO_GENERAL #define DEFAULT_OPER_SNOMASK SNO_GENERAL
#define FLAGS_ID (FLAGS_NEEDID | FLAGS_GOTID)
#define CLICAP_MULTI_PREFIX 0x0001 #define CLICAP_MULTI_PREFIX 0x0001
#define CLICAP_SASL 0x0002 #define CLICAP_SASL 0x0002
@ -540,9 +537,6 @@ struct exit_client_hook
#define IsNoForward(x) ((x)->umodes & UMODE_NOFORWARD) #define IsNoForward(x) ((x)->umodes & UMODE_NOFORWARD)
#define IsSetRegOnlyMsg(x) ((x)->umodes & UMODE_REGONLYMSG) #define IsSetRegOnlyMsg(x) ((x)->umodes & UMODE_REGONLYMSG)
#define SetNeedId(x) ((x)->flags |= FLAGS_NEEDID)
#define IsNeedId(x) (((x)->flags & FLAGS_NEEDID) != 0)
#define SetGotId(x) ((x)->flags |= FLAGS_GOTID) #define SetGotId(x) ((x)->flags |= FLAGS_GOTID)
#define IsGotId(x) (((x)->flags & FLAGS_GOTID) != 0) #define IsGotId(x) (((x)->flags & FLAGS_GOTID) != 0)

View file

@ -96,7 +96,6 @@ struct ConfItem
/* Generic flags... */ /* Generic flags... */
/* access flags... */ /* access flags... */
#define CONF_FLAGS_DO_IDENTD 0x00000001
#define CONF_FLAGS_LIMIT_IP 0x00000002 #define CONF_FLAGS_LIMIT_IP 0x00000002
#define CONF_FLAGS_NO_TILDE 0x00000004 #define CONF_FLAGS_NO_TILDE 0x00000004
#define CONF_FLAGS_NEED_IDENTD 0x00000008 #define CONF_FLAGS_NEED_IDENTD 0x00000008
@ -141,7 +140,6 @@ struct ConfItem
#define IsConfExemptJupe(x) ((x)->flags & CONF_FLAGS_EXEMPTJUPE) #define IsConfExemptJupe(x) ((x)->flags & CONF_FLAGS_EXEMPTJUPE)
#define IsConfExemptResv(x) ((x)->flags & CONF_FLAGS_EXEMPTRESV) #define IsConfExemptResv(x) ((x)->flags & CONF_FLAGS_EXEMPTRESV)
#define IsConfIdlelined(x) ((x)->flags & CONF_FLAGS_IDLE_LINED) #define IsConfIdlelined(x) ((x)->flags & CONF_FLAGS_IDLE_LINED)
#define IsConfDoIdentd(x) ((x)->flags & CONF_FLAGS_DO_IDENTD)
#define IsConfDoSpoofIp(x) ((x)->flags & CONF_FLAGS_SPOOF_IP) #define IsConfDoSpoofIp(x) ((x)->flags & CONF_FLAGS_SPOOF_IP)
#define IsConfSpoofNotice(x) ((x)->flags & CONF_FLAGS_SPOOF_NOTICE) #define IsConfSpoofNotice(x) ((x)->flags & CONF_FLAGS_SPOOF_NOTICE)
#define IsConfEncrypted(x) ((x)->flags & CONF_FLAGS_ENCRYPTED) #define IsConfEncrypted(x) ((x)->flags & CONF_FLAGS_ENCRYPTED)

View file

@ -339,10 +339,6 @@ verify_access(struct Client *client_p, const char *username)
return (NOT_AUTHORISED); return (NOT_AUTHORISED);
} }
if(IsConfDoIdentd(aconf))
SetNeedId(client_p);
/* Thanks for spoof idea amm */ /* Thanks for spoof idea amm */
if(IsConfDoSpoofIp(aconf)) if(IsConfDoSpoofIp(aconf))
{ {