summaryrefslogtreecommitdiff
path: root/modules/m_globops.c
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 /modules/m_globops.c
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 'modules/m_globops.c')
-rw-r--r--modules/m_globops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_globops.c b/modules/m_globops.c
index 9f9c2eb..8cf3ed7 100644
--- a/modules/m_globops.c
+++ b/modules/m_globops.c
@@ -64,7 +64,7 @@ mo_globops(struct Client *client_p, struct Client *source_p,
sendto_server(NULL, NOCAPS, CAP_TS6,
":%s GLOBOPS :%s", source_p->name, message);
- sendto_globops_flags(UMODE_ALL, L_ALL, "from: %s: %s",
+ sendto_realops_flags(UMODE_ALL, L_ALL, SEND_GLOBAL, "from: %s: %s",
source_p->name, message);
}
@@ -80,7 +80,7 @@ ms_globops(struct Client *client_p, struct Client *source_p,
sendto_server(client_p, NOCAPS, CAP_TS6, ":%s GLOBOPS :%s",
source_p->name, parv[1]);
- sendto_globops_flags(UMODE_ALL, L_ALL, "from: %s: %s",
+ sendto_realops_flags(UMODE_ALL, L_ALL, SEND_GLOBAL, "from: %s: %s",
source_p->name, parv[1]);
}