Remove unused flag FLAGS_CHKACCESS.
This commit is contained in:
parent
c3fed903fd
commit
29c55c49f2
3 changed files with 0 additions and 7 deletions
|
@ -416,7 +416,6 @@ struct exit_client_hook
|
|||
#define FLAGS_KILLED 0x0004 /* Prevents "QUIT" from being sent for this */
|
||||
#define FLAGS_SENTUSER 0x0008 /* Client sent a USER command. */
|
||||
#define FLAGS_CLOSING 0x0020 /* set when closing to suppress errors */
|
||||
#define FLAGS_CHKACCESS 0x0040 /* ok to check clients access if set */
|
||||
#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 */
|
||||
|
@ -480,9 +479,6 @@ struct exit_client_hook
|
|||
* flags macros.
|
||||
*/
|
||||
#define IsPerson(x) (IsClient(x) && (x)->user != NULL)
|
||||
#define DoAccess(x) ((x)->flags & FLAGS_CHKACCESS)
|
||||
#define SetAccess(x) ((x)->flags |= FLAGS_CHKACCESS)
|
||||
#define ClearAccess(x) ((x)->flags &= ~FLAGS_CHKACCESS)
|
||||
#define HasServlink(x) ((x)->flags & FLAGS_SERVLINK)
|
||||
#define SetServlink(x) ((x)->flags |= FLAGS_SERVLINK)
|
||||
#define MyConnect(x) ((x)->flags & FLAGS_MYCONNECT)
|
||||
|
|
|
@ -173,8 +173,6 @@ check_client(struct Client *client_p, struct Client *source_p, const char *usern
|
|||
{
|
||||
int i;
|
||||
|
||||
ClearAccess(source_p);
|
||||
|
||||
if((i = verify_access(source_p, username)))
|
||||
{
|
||||
ilog(L_FUSER, "Access denied: %s[%s]",
|
||||
|
|
|
@ -1003,7 +1003,6 @@ server_estab(struct Client *client_p)
|
|||
s_assert(NULL != client_p);
|
||||
if(client_p == NULL)
|
||||
return -1;
|
||||
ClearAccess(client_p);
|
||||
|
||||
host = client_p->name;
|
||||
|
||||
|
|
Loading…
Reference in a new issue