ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_cap.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/m_cap.c (file contents):
Revision 8430 by michael, Tue Feb 20 19:30:13 2018 UTC vs.
Revision 8431 by michael, Tue Mar 27 18:49:15 2018 UTC

# Line 36 | Line 36
36   #include "irc_string.h"
37  
38  
39 < #define CAPFL_HIDDEN    0x0001  /**< Do not advertize this capability */
40 < #define CAPFL_PROHIBIT  0x0002  /**< Client may not set this capability */
41 < #define CAPFL_PROTO     0x0004  /**< Cap must be acknowledged by client */
42 < #define CAPFL_STICKY    0x0008  /**< Cap may not be cleared once set */
39 > enum
40 > {
41 >  CAPFL_HIDDEN    = 1 << 0,  /**< Do not advertize this capability */
42 >  CAPFL_PROHIBIT  = 1 << 1,  /**< Client may not set this capability */
43 >  CAPFL_PROTO     = 1 << 2,  /**< Cap must be acknowledged by client */
44 >  CAPFL_STICKY    = 1 << 3   /**< Cap may not be cleared once set */
45 > };
46  
47   typedef int (*bqcmp)(const void *, const void *);
48  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)