summaryrefslogtreecommitdiff
path: root/include/send.h
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-10-30 21:04:38 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-10-30 21:04:38 +0000
commit363f35dab5293ee89b870df8effd09249d024576 (patch)
tree82fa01195c8cfe635bcef3a28f0b51ebfef0d424 /include/send.h
parenteef62fc56ba6df5690830206d5341cbd5be91612 (diff)
- 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
Diffstat (limited to 'include/send.h')
-rw-r--r--include/send.h7
1 files changed, 5 insertions, 2 deletions
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 */