summaryrefslogtreecommitdiff
path: root/modules/m_motd.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_motd.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_motd.c')
-rw-r--r--modules/m_motd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_motd.c b/modules/m_motd.c
index 4e0bd1c..805840f 100644
--- a/modules/m_motd.c
+++ b/modules/m_motd.c
@@ -38,7 +38,7 @@
static void
do_motd(struct Client *source_p)
{
- sendto_realops_flags(UMODE_SPY, L_ALL,
+ sendto_realops_flags(UMODE_SPY, L_ALL, SEND_NOTICE,
"MOTD requested by %s (%s@%s) [%s]",
source_p->name, source_p->username,
source_p->host, source_p->servptr->name);