diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-25 21:38:58 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-01-25 21:38:58 +0000 |
commit | 1f69d35bab1c5f599645e6dd2a39c5ef56640b01 (patch) | |
tree | cd0f6abf1dc404b1345a0337a3eef457dc1cfa73 /include | |
parent | a26d307db16398392df9a07923881e5651ac7625 (diff) |
- send.h: made some things use an enum.
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2922 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include')
-rw-r--r-- | include/send.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/send.h b/include/send.h index e33212f..15d2e75 100644 --- a/include/send.h +++ b/include/send.h @@ -29,13 +29,16 @@ #include "fdlist.h" -#define NOCAPS 0 /* no caps */ +enum { NOCAPS = 0 }; -#define ALL_MEMBERS 0 -#define NON_CHANOPS 1 -#define ONLY_CHANOPS_VOICED 2 -#define ONLY_CHANOPS 3 -#define ONLY_SERVERS 4 /* for channel_mode.c */ +enum +{ + ALL_MEMBERS = 0, + NON_CHANOPS = 1, + ONLY_CHANOPS_VOICED = 2, + ONLY_CHANOPS = 3, + ONLY_SERVERS = 4 +}; enum { |