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

Comparing ircd-hybrid-8/include/client.h (file contents):
Revision 1157 by michael, Tue Aug 9 22:03:59 2011 UTC vs.
Revision 1158 by michael, Wed Aug 10 19:46:00 2011 UTC

# Line 369 | Line 369 | struct LocalUser
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 */
# Line 376 | Line 377 | struct LocalUser
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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines