mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
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
|
@ -60,7 +60,7 @@ struct Channel
|
|||
rb_dlink_list members; /* channel members */
|
||||
rb_dlink_list locmembers; /* local channel members */
|
||||
|
||||
rb_dlink_list invites;
|
||||
rb_dlink_list invites;
|
||||
rb_dlink_list banlist;
|
||||
rb_dlink_list exceptlist;
|
||||
rb_dlink_list invexlist;
|
||||
|
@ -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