diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-12 14:26:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-12 14:26:15 +0000 |
commit | 988568f3d1cc2247fa3adbadd8daa0ee175fcb1d (patch) | |
tree | 00623416ea844e1fce5343f1073bb6dbaa75511b /include/channels.h | |
parent | c73881748324fb454153c2d0fd85e8b80996b2b7 (diff) |
*NEEDS TESTING* changed binarymodes to use the custom_modes entries
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3691 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/channels.h')
-rw-r--r-- | include/channels.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/channels.h b/include/channels.h index a6568cb1e..4c430af32 100644 --- a/include/channels.h +++ b/include/channels.h @@ -25,12 +25,14 @@ #include <map> enum ChannelModes { - CM_TOPICLOCK = 1, - CM_NOEXTERNAL = 2, - CM_INVITEONLY = 4, - CM_MODERATED = 8, - CM_SECRET = 16, - CM_PRIVATE = 32 + CM_TOPICLOCK = 't'-65, + CM_NOEXTERNAL = 'n'-65, + CM_INVITEONLY = 'i'-65, + CM_MODERATED = 'm'-65, + CM_SECRET = 's'-65, + CM_PRIVATE = 'p'-65, + CM_KEY = 'k'-65, + CM_LIMIT = 'l'-65 }; class userrec; |