From 363f35dab5293ee89b870df8effd09249d024576 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 30 Oct 2012 21:04:38 +0000 Subject: - Made m_globops() and ms_globops() use sendto_realops_flags() - Added message-type parameter to sendto_realops_flags() which can be one of SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS - Forward-port -r1617 git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1618 82007160-df01-0410-b94d-b575c5fd34c7 --- include/send.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/send.h b/include/send.h index 1039618..10eff63 100644 --- a/include/send.h +++ b/include/send.h @@ -63,9 +63,8 @@ extern void sendto_match_butone(struct Client *, struct Client *, char *, int, const char *, ...); extern void sendto_match_servs(struct Client *, const char *, int, const char *, ...); -extern void sendto_realops_flags(unsigned int, int, +extern void sendto_realops_flags(unsigned int, int, int, const char *, ...); -extern void sendto_globops_flags(unsigned int, int, const char *, ...); extern void sendto_wallops_flags(unsigned int, struct Client *, const char *, ...); extern void ts_warn(const char *, ...); @@ -88,6 +87,10 @@ extern void kill_client_ll_serv_butone(struct Client *, struct Client *, #define L_OPER 1 #define L_ADMIN 2 +#define SEND_NOTICE 1 +#define SEND_GLOBAL 2 +#define SEND_LOCOPS 3 + #define NOCAPS 0 /* no caps */ #define NOFLAGS 0 /* no flags */ -- cgit