unrealircd

- supernets unrealircd source & configuration
git clone git://git.acid.vegas/unrealircd.git
Log | Files | Refs | Archive | README | LICENSE

channel.h (1511B)

      1 /************************************************************************
      2  *   Unreal Internet Relay Chat Daemon, ircd/channel.h
      3  *   Copyright (C) 1990 Jarkko Oikarinen
      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 1, 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  *
     19  *   $Id$
     20  */
     21 
     22 #ifndef	__channel_include__
     23 #define __channel_include__
     24 #define CREATE 1		/* whether a channel should be
     25 				   created or just tested for existance */
     26 
     27 #define	MODEBUFLEN	200
     28 
     29 #define ChannelExists(n)	(find_channel(n))
     30 
     31 /* NOTE: Timestamps will be added to MODE-commands, so never make
     32  * RESYNCMODES and MODEPARAMS higher than MAXPARA-3. DALnet servers
     33  * before Dreamforge aren't safe with more than six. -Donwulff
     34  */
     35 #include "msg.h"
     36 #define	MAXMODEPARAMS	(MAXPARA-3)	/* Maximum modes processed */
     37 #define RESYNCMODES	12	/* Max modes per MODE in resync */
     38 #define MODEPARAMS	6	/* Max modes from user */
     39 
     40 #endif