369 |
|
#define UMODE_LOCOPS 0x00010000 /* show locops */ |
370 |
|
#define UMODE_DEAF 0x00020000 /* don't receive channel messages */ |
371 |
|
#define UMODE_CCONN_FULL 0x00040000 /* add unused fields to connection monitoring */ |
372 |
+ |
#define UMODE_REGISTERED 0x00080000 /* User has identified for that nick. */ |
373 |
|
|
374 |
|
/* user information flags, only settable by remote mode or local oper */ |
375 |
|
#define UMODE_OPER 0x40000000 /* Operator */ |
377 |
|
|
378 |
|
#define UMODE_ALL UMODE_SERVNOTICE |
379 |
|
|
380 |
+ |
#define HasUMode(x, y) ((x)->umodes & (y)) |
381 |
+ |
#define AddUMode(x, y) ((x)->umodes |= (y)) |
382 |
+ |
#define DelUMode(x, y) ((x)->umodes &= ~(y)) |
383 |
+ |
|
384 |
|
#define SEND_UMODES (UMODE_INVISIBLE | UMODE_OPER | UMODE_WALLOP | \ |
385 |
< |
UMODE_ADMIN) |
385 |
> |
UMODE_REGISTERED | UMODE_ADMIN) |
386 |
> |
|
387 |
> |
|
388 |
|
|
389 |
|
|
390 |
|
/* oper priv flags */ |