summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-24 20:21:29 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-24 20:21:29 +0000
commitc88d4a3511cd9706b5c02c576b0445f13391afd3 (patch)
tree601df768ed6050351a48b2e914f223e6d4fe8bea /include
parent2f44ee5b2a4b44cc7005ed76eaeef8c136713153 (diff)
Replace some voodoo with a define
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7556 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index b0382e473..f21e03272 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -38,6 +38,11 @@
#include "snomasks.h"
#include "cull_list.h"
+/**
+ * Used to define the maximum number of parameters a command may have.
+ */
+#define MAXPARAMETERS 127
+
/** Returned by some functions to indicate failure.
*/
#define ERROR -1