ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/include/protocol/plexus.h
Revision: 1.4
Committed: Sun Sep 16 18:54:42 2007 UTC (16 years, 8 months ago) by pippijn
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +30 -25 lines
Log Message:
#defines to enum

File Contents

# Content
1 /**
2 * plexus.h: This code contains the channel mode definitions for ratbox ircd.
3 *
4 * Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team
5 * Rights to this code are as documented in COPYING.
6 *
7 *
8 * Portions of this file were derived from sources bearing the following license:
9 * Copyright © 2005 William Pitcock, et al.
10 * Rights to this code are as documented in doc/pod/license.pod.
11 *
12 * $Id: plexus.h,v 1.3 2007-08-28 17:08:07 pippijn Exp $
13 */
14
15 #ifndef RATBOX_H
16 #define RATBOX_H
17
18 enum
19 {
20 CMODE_NOCOLOR = 1 << 12, /* bahamut +c */
21 CMODE_MODREG = 1 << 13, /* bahamut +M */
22 CMODE_REGONLY = 1 << 14, /* bahamut +R */
23 CMODE_OPERONLY = 1 << 15, /* bahamut +O */
24 CMODE_ADMONLY = 1 << 16, /* unreal +A */
25 CMODE_PEACE = 1 << 17, /* unreal +Q */
26 CMODE_STRIP = 1 << 18, /* unreal +S */
27 CMODE_NOKNOCK = 1 << 19, /* unreal +K */
28 CMODE_NOINVITE = 1 << 20, /* unreal +V */
29 CMODE_NOCTCP = 1 << 21, /* unreal +C */
30 CMODE_HIDING = 1 << 22, /* unreal +u */
31 CMODE_PERM = 1 << 23, /* unreal +z */
32 CMODE_STICKY = 1 << 24, /* unreal +N */
33 CMODE_BWSAVE = 1 << 25, /* plexus +Z */
34
35 CMODE_OWNER = 1 << 26, /* unreal +q */
36 CMODE_PROTECT = 1 << 27, /* unreal +a */
37 CMODE_HALFOP = 1 << 28 /* unreal +h */
38 };
39
40 #endif