aboutsummaryrefslogtreecommitdiff
path: root/ircd/channel_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'ircd/channel_def.h')
-rw-r--r--ircd/channel_def.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/ircd/channel_def.h b/ircd/channel_def.h
new file mode 100644
index 0000000..7413f16
--- /dev/null
+++ b/ircd/channel_def.h
@@ -0,0 +1,29 @@
+/************************************************************************
+ * IRC - Internet Relay Chat, ircd/channel_def.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.
+ */
+
+#define CREATE 1 /* whether a channel should be
+ created or just tested for existance */
+
+#define MODEBUFLEN 200
+
+#define NullChn ((aChannel *)0)
+
+#define ChannelExists(n) (find_channel(n, NullChn) != NullChn)
+
+#define MAXMODEPARAMS 3