aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Bram Matthys2012-01-20 21:25:59 +0100
committerGravatar Bram Matthys2012-01-20 21:25:59 +0100
commitd530dbd43df7fece2dadc40f6bb99e2798f81f7a (patch)
tree34c97d5c3e8b09885e6731b831fb9cb993d79023 /include
parent- Add Bantype ~a documentation. (diff)
downloadunrealircd-d530dbd43df7fece2dadc40f6bb99e2798f81f7a.tar.gz
unrealircd-d530dbd43df7fece2dadc40f6bb99e2798f81f7a.tar.bz2
unrealircd-d530dbd43df7fece2dadc40f6bb99e2798f81f7a.zip
- Add CAP support. Currently implemented are: multi-prefix (NAMESX), and
userhost-in-names (UHNAMES). Patch from nenotopia (#4018, #4066)
Diffstat (limited to 'include')
-rw-r--r--include/numeric.h2
-rw-r--r--include/struct.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/numeric.h b/include/numeric.h
index b7c3b0827..22b89ad97 100644
--- a/include/numeric.h
+++ b/include/numeric.h
@@ -53,6 +53,8 @@
#define ERR_NOSUCHSERVICE 408
#define ERR_NOORIGIN 409
+#define ERR_INVALIDCAPCMD 410
+
#define ERR_NORECIPIENT 411
#define ERR_NOTEXTTOSEND 412
#define ERR_NOTOPLEVEL 413
diff --git a/include/struct.h b/include/struct.h
index e685bd4ca..dd640d31d 100644
--- a/include/struct.h
+++ b/include/struct.h
@@ -367,6 +367,7 @@ typedef unsigned int u_int32_t; /* XXX Hope this works! */
#define PROTO_NAMESX 0x4000 /* Send all rights in NAMES output */
#define PROTO_CLK 0x8000 /* Send cloaked host in the NICK command (regardless of +x/-x) */
#define PROTO_UHNAMES 0x10000 /* Send n!u@h in NAMES */
+#define PROTO_CLICAP 0x20000 /* client capability negotiation in process */
/*
* flags macros.