ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/include/protocol/ptlink.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: +26 -19 lines
Log Message:
#defines to enum

File Contents

# Content
1 /**
2 * ptlink.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: ptlink.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_FLOOD = 0, /* IGNORE */
21
22 CMODE_NOCOLOR = 1 << 12,
23 CMODE_NOBOTS = 1 << 13,
24 CMODE_SSLONLY = 1 << 14,
25 CMODE_NOREPEAT = 1 << 15,
26 CMODE_KNOCK = 1 << 16,
27 CMODE_STICKY = 1 << 17,
28 CMODE_NOQUIT = 1 << 18,
29 CMODE_REGONLY = 1 << 19,
30 CMODE_NOSPAM = 1 << 20,
31
32 CMODE_PROTECT = 1 << 21, /* unreal +a */
33 CMODE_HALFOP = 1 << 22 /* unreal +h */
34 };
35
36 #endif