From d674844295eac2e70f5ba6a78002a2bf4e62952e Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 2 Jul 2014 18:38:56 +0000 Subject: - Removed supported.h git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@4158 82007160-df01-0410-b94d-b575c5fd34c7 --- include/supported.h | 73 ----------------------------------------------------- src/ircd.c | 1 - src/s_user.c | 3 +-- 3 files changed, 1 insertion(+), 76 deletions(-) delete mode 100644 include/supported.h diff --git a/include/supported.h b/include/supported.h deleted file mode 100644 index 0e59fd5..0000000 --- a/include/supported.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * ircd-hybrid: an advanced Internet Relay Chat Daemon(ircd). - * supported.h: Header for 005 numeric etc... - * - * Copyright (C) 2002 by the past and present ircd coders, and others. - * - * 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 2 of the License, 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA - * - * $Id$ - */ - -#ifndef INCLUDED_supported_h -#define INCLUDED_supported_h - -#include "channel.h" -#include "ircd_defs.h" -#include "s_serv.h" - -#define CASEMAP "rfc1459" - -/* ConfigChannel.use_knock ? " KNOCK" */ - -/* - * - from mirc's versions.txt - * - * mIRC now supports the numeric 005 tokens: CHANTYPES=# and - * PREFIX=(ohv)@%+ and can handle a dynamic set of channel and - * nick prefixes. - * - * mIRC assumes that @ is supported on all networks, any mode - * left of @ is assumed to have at least equal power to @, and - * any mode right of @ has less power. - * - * mIRC has internal support for @%+ modes. - * - * $nick() can now handle all mode letters listed in PREFIX. - * - * Also added support for CHANMODES=A,B,C,D token (not currently - * supported by any servers), which lists all modes supported - * by a channel, where: - * - * A = modes that take a parameter, and add or remove nicks - * or addresses to a list, such as +bIe for the ban, - * invite, and exception lists. - * - * B = modes that change channel settings, but which take - * a parameter when they are set and unset, such as - * +k key, and -k key. - * - * C = modes that change channel settings, but which take - * a parameter only when they are set, such as +l N, - * and -l. - * - * D = modes that change channel settings, such as +imnpst - * and take no parameters. - * - * All unknown/unlisted modes are treated as type D. - */ - -#endif /* INCLUDED_supported_h */ diff --git a/src/ircd.c b/src/ircd.c index 91770f1..bcf6b70 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -57,7 +57,6 @@ #include "memory.h" #include "mempool.h" #include "ircd_getopt.h" -#include "supported.h" #include "watch.h" #include "conf_db.h" #include "conf_class.h" diff --git a/src/s_user.c b/src/s_user.c index 106e0b7..359478b 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -43,7 +43,6 @@ #include "log.h" #include "s_serv.h" #include "send.h" -#include "supported.h" #include "whowas.h" #include "memory.h" #include "packet.h" @@ -1349,7 +1348,7 @@ void init_isupport(void) { add_isupport("CALLERID", NULL, -1); - add_isupport("CASEMAPPING", CASEMAP, -1); + add_isupport("CASEMAPPING", "rfc1459", -1); add_isupport("DEAF", "D", -1); add_isupport("KICKLEN", NULL, KICKLEN); add_isupport("MODES", NULL, MAXMODEPARAMS); -- cgit