summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-01-11 12:59:24 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-01-11 12:59:24 +0000
commit9206712a4455da4ae692005f4e3181fd36ba6f42 (patch)
tree81a48680db284ee7813cd25672ba46f98cee2252 /include
parent01cb956987521194a8ef673095a36025847387ac (diff)
- Add support for "away-notify" client capability
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1734 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include')
-rw-r--r--include/client.h1
-rw-r--r--include/send.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/include/client.h b/include/client.h
index c8555a5..9fee4fd 100644
--- a/include/client.h
+++ b/include/client.h
@@ -265,6 +265,7 @@ struct Client
#define CAP_MULTI_PREFIX 0x00000001
+#define CAP_AWAY_NOTIFY 0x00000002
#define HasCap(x, y) ((x)->localClient->cap_active & (y))
diff --git a/include/send.h b/include/send.h
index 10eff63..e885e77 100644
--- a/include/send.h
+++ b/include/send.h
@@ -47,11 +47,11 @@ extern void sendto_one(struct Client *, const char *, ...);
extern void sendto_channel_butone(struct Client *, struct Client *,
struct Channel *, unsigned int,
const char *, ...);
-extern void sendto_common_channels_local(struct Client *, int,
+extern void sendto_common_channels_local(struct Client *, int, unsigned int,
const char *, ...);
extern void sendto_channel_local(int, int, struct Channel *,
const char *, ...);
-extern void sendto_channel_local_butone(struct Client *, int, struct Channel *,
+extern void sendto_channel_local_butone(struct Client *, int, unsigned int, struct Channel *,
const char *, ...);
extern void sendto_channel_remote(struct Client *, struct Client *, int,
const unsigned int, const unsigned int,