ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/include/conf.h
(Generate patch)

Comparing ircd-hybrid/trunk/include/conf.h (file contents):
Revision 1632 by michael, Sun Nov 4 15:37:10 2012 UTC vs.
Revision 1636 by michael, Sun Nov 4 17:09:47 2012 UTC

# Line 90 | Line 90 | struct MaskItem
90    enum maskitem_type type;
91    unsigned int     dns_failed;
92    unsigned int     dns_pending;
93  unsigned int     status;   /* If CONF_ILLEGAL, delete when no clients */
93    unsigned int     flags;
94    unsigned int     modes;
95    unsigned int     port;
# Line 132 | Line 131 | struct CidrItem
131   };
132  
133  
134 < #define IsConfOperator(x)       ((x)->type & CONF_OPER)
134 > #define IsConfOperator(x)       ((x)->type == CONF_OPER)
135   #define IsConfKill(x)           ((x)->type == CONF_KLINE)
136 < #define IsConfClient(x)         ((x)->type & CONF_CLIENT)
136 > #define IsConfClient(x)         ((x)->type == CONF_CLIENT)
137   #define IsConfGline(x)          ((x)->type == CONF_GLINE)
138  
139   /* MaskItem->flags */
# Line 363 | Line 362 | extern int get_conf_ping(const struct Ma
362  
363   extern void detach_conf(struct Client *, enum maskitem_type);
364   extern struct MaskItem *find_conf_name(dlink_list *, const char *, enum maskitem_type);
366 extern struct MaskItem *find_conf_exact(enum maskitem_type, const char *, const char *, const char *);
365   extern struct MaskItem *find_kill(struct Client *);
366   extern struct MaskItem *find_gline(struct Client *);
367   extern int conf_connect_allowed(struct irc_ssaddr *, int);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines