From 988568f3d1cc2247fa3adbadd8daa0ee175fcb1d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 12 Mar 2006 14:26:15 +0000 Subject: *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 --- include/channels.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'include') 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 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; -- cgit v1.2.3