From 9206712a4455da4ae692005f4e3181fd36ba6f42 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 11 Jan 2013 12:59:24 +0000 Subject: - 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 --- include/client.h | 1 + include/send.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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, -- cgit