summaryrefslogtreecommitdiff
path: root/include/supported.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/supported.h')
-rw-r--r--include/supported.h73
1 files changed, 73 insertions, 0 deletions
diff --git a/include/supported.h b/include/supported.h
new file mode 100644
index 0000000..0e59fd5
--- /dev/null
+++ b/include/supported.h
@@ -0,0 +1,73 @@
+/*
+ * 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 */