| 38 |
|
|
| 39 |
|
enum |
| 40 |
|
{ |
| 41 |
< |
MODE_QUERY = 0, |
| 42 |
< |
MODE_ADD = 1, |
| 43 |
< |
MODE_DEL = -1 |
| 41 |
> |
MODE_QUERY = 0, |
| 42 |
> |
MODE_DEL = 1, |
| 43 |
> |
MODE_ADD = 2 |
| 44 |
|
}; |
| 45 |
|
|
| 46 |
|
enum |
| 90 |
|
MODE_NOCTRL = 0x00000400U, /**< Prevents users from sending messages containing control codes to the channel */ |
| 91 |
|
MODE_MODREG = 0x00000800U, /**< Unregistered/unidentified clients cannot send text to the channel */ |
| 92 |
|
MODE_NOCTCP = 0x00001000U, /**< Clients cannot send CTCP messages to the channel */ |
| 93 |
< |
MODE_NONOTICE = 0x00002000U /**< Clients cannot send NOTICE to the channel */ |
| 93 |
> |
MODE_NONOTICE = 0x00002000U, /**< Clients cannot send NOTICE to the channel */ |
| 94 |
> |
MODE_HIDEBMASKS = 0x00004000U /**< Hides +b/+e/+I lists/changes for non-chanops everywhere */ |
| 95 |
|
}; |
| 96 |
|
|
| 97 |
|
/* name invisible */ |
| 114 |
|
const char *arg; |
| 115 |
|
const char *id; |
| 116 |
|
int dir; |
| 117 |
+ |
unsigned int flags; |
| 118 |
|
}; |
| 119 |
|
|
| 120 |
|
struct mode_letter |