]>
Commit | Line | Data |
---|---|---|
189935b1 | 1 | /* |
2 | * IRC - Internet Relay Chat, include/supported.h | |
3 | * Copyright (C) 1999 Perry Lorier. | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify | |
6 | * it under the terms of the GNU General Public License as published by | |
7 | * the Free Software Foundation; either version 2, or (at your option) | |
8 | * any later version. | |
9 | * | |
10 | * This program is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | * GNU General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU General Public License | |
16 | * along with this program; if not, write to the Free Software | |
17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
18 | * | |
c02e87ad | 19 | * $Id: supported.h,v 1.20.2.2 2007/05/20 13:02:51 entrope Exp $ |
189935b1 | 20 | * |
21 | * Description: This file has the featureset that ircu announces on connecting | |
22 | * a client. It's in this .h because it's likely to be appended | |
23 | * to frequently and s_user.h is included by basically everyone. | |
24 | */ | |
25 | #ifndef INCLUDED_supported_h | |
26 | #define INCLUDED_supported_h | |
27 | ||
28 | #include "channel.h" | |
29 | #include "ircd_defs.h" | |
30 | ||
31 | /* | |
32 | * 'Features' supported by this ircd | |
33 | */ | |
34 | #define FEATURES1 \ | |
35 | "WHOX"\ | |
36 | " WALLCHOPS"\ | |
37 | " WALLVOICES"\ | |
38 | " USERIP"\ | |
39 | " CPRIVMSG"\ | |
40 | " CNOTICE"\ | |
41 | " SILENCE=%i" \ | |
42 | " MODES=%i" \ | |
43 | " MAXCHANNELS=%i" \ | |
44 | " MAXBANS=%i" \ | |
4d6475c6 | 45 | " NICKLEN=%i" |
46 | ||
47 | ||
c02e87ad | 48 | #define FEATURES2 "MAXNICKLEN=%i" \ |
189935b1 | 49 | " TOPICLEN=%i" \ |
50 | " AWAYLEN=%i" \ | |
51 | " KICKLEN=%i" \ | |
52 | " CHANNELLEN=%i" \ | |
4d6475c6 | 53 | " MAXCHANNELLEN=%i" \ |
54 | " CHANTYPES=%s" \ | |
189935b1 | 55 | " PREFIX=%s" \ |
56 | " STATUSMSG=%s" \ | |
57 | " CHANMODES=%s" \ | |
58 | " CASEMAPPING=%s" \ | |
59 | " NETWORK=%s" | |
60 | ||
61 | #define FEATURESVALUES1 feature_int(FEAT_MAXSILES), MAXMODEPARAMS, \ | |
62 | feature_int(FEAT_MAXCHANNELSPERUSER), \ | |
4d6475c6 | 63 | feature_int(FEAT_MAXBANS), feature_int(FEAT_NICKLEN) |
189935b1 | 64 | |
4d6475c6 | 65 | #define FEATURESVALUES2 NICKLEN, TOPICLEN, AWAYLEN, TOPICLEN, \ |
66 | feature_int(FEAT_CHANNELLEN), CHANNELLEN, \ | |
67 | (feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#"), "(ov)@+", "@+", \ | |
1cade670 | 68 | (feature_bool(FEAT_OPLEVELS) ? "b,AkU,l,imnpstrDducCNMT" : "b,k,l,imnpstrDducCNMT"), \ |
189935b1 | 69 | "rfc1459", feature_str(FEAT_NETWORK) |
70 | ||
71 | #endif /* INCLUDED_supported_h */ | |
72 |