]>
jfr.im git - irc/quakenet/snircd.git/blob - include/supported.h
2 * IRC - Internet Relay Chat, include/supported.h
3 * Copyright (C) 1999 Perry Lorier.
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)
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.
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.
19 * $Id: supported.h,v 1.20.2.1 2007/01/23 01:57:56 entrope Exp $
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.
25 #ifndef INCLUDED_supported_h
26 #define INCLUDED_supported_h
29 #include "ircd_defs.h"
32 * 'Features' supported by this ircd
48 #define FEATURES2 " MAXNICKLEN=%i" \
61 #define FEATURESVALUES1 feature_int(FEAT_MAXSILES), MAXMODEPARAMS, \
62 feature_int(FEAT_MAXCHANNELSPERUSER), \
63 feature_int(FEAT_MAXBANS), feature_int(FEAT_NICKLEN)
65 #define FEATURESVALUES2 NICKLEN, TOPICLEN, AWAYLEN, TOPICLEN, \
66 feature_int(FEAT_CHANNELLEN), CHANNELLEN, \
67 (feature_bool(FEAT_LOCAL_CHANNELS) ? "#&" : "#"), "(ov)@+", "@+", \
68 (feature_bool(FEAT_OPLEVELS) ? "b,AkU,l,imnpstrDducCNM" : "b,k,l,imnpstrDducCNM"), \
69 "rfc1459", feature_str(FEAT_NETWORK)
71 #endif /* INCLUDED_supported_h */