mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 15:53:12 +02:00
548d66d26c
This reformats entire UnrealIRCd source code, according to .clang-format which was previously commited. This is reproducable using clang-format version 21.1.8. These are only visual changes, they have no effect on code. This commit will be added to .git-blame-ignore-revs so 'git blame' and the similar blame view on GitHub will ignore this commit.
39 lines
1.4 KiB
C
39 lines
1.4 KiB
C
/************************************************************************
|
|
* Unreal Internet Relay Chat Daemon, ircd/channel.h
|
|
* Copyright (C) 1990 Jarkko Oikarinen
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 1, or (at your option)
|
|
* any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef __channel_include__
|
|
#define __channel_include__
|
|
#define CREATE 1 /* whether a channel should be created or just tested for existance */
|
|
|
|
#define MODEBUFLEN 200
|
|
#define MAXBANLEN 200 /* Maximum length of a complete ban */
|
|
|
|
#define ChannelExists(n) (find_channel(n))
|
|
|
|
/* NOTE: Timestamps will be added to MODE-commands, so never make
|
|
* RESYNCMODES and MODEPARAMS higher than MAXPARA-3. DALnet servers
|
|
* before Dreamforge aren't safe with more than six. -Donwulff
|
|
*/
|
|
#include "msg.h"
|
|
#define MAXMODEPARAMS (MAXPARA_USER - 3) /* Maximum modes processed */
|
|
|
|
#endif
|