Reorder CHFL flags so that they can be used as ranks.
This commit is contained in:
parent
0aa36c5f0f
commit
a0626e7ce3
1 changed files with 5 additions and 3 deletions
|
@ -145,8 +145,9 @@ typedef int (*ExtbanFunc)(const char *data, struct Client *client_p,
|
|||
|
||||
/* channel status flags */
|
||||
#define CHFL_PEON 0x0000 /* normal member of channel */
|
||||
#define CHFL_CHANOP 0x0001 /* Channel operator */
|
||||
#define CHFL_VOICE 0x0002 /* the power to speak */
|
||||
#define CHFL_VOICE 0x0001 /* the power to speak */
|
||||
#define CHFL_CHANOP 0x0002 /* Channel operator */
|
||||
|
||||
#define CHFL_BANNED 0x0008 /* cached as banned */
|
||||
#define CHFL_QUIETED 0x0010 /* cached as being +q victim */
|
||||
#define ONLY_SERVERS 0x0020
|
||||
|
@ -276,5 +277,6 @@ extern int match_extban(const char *banstr, struct Client *client_p, struct Chan
|
|||
extern int valid_extban(const char *banstr, struct Client *client_p, struct Channel *chptr, long mode_type);
|
||||
const char * get_extban_string(void);
|
||||
|
||||
extern int get_channel_access(struct Client *source_p, struct membership *msptr);
|
||||
|
||||
#endif /* INCLUDED_channel_h */
|
||||
|
|
Loading…
Reference in a new issue