summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-23 19:09:38 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-23 19:09:38 +0000
commitb8c21b7e1cf8418340acc2178e6f8aaf0b27c6f3 (patch)
tree9e8d011ee88244c8aaaf66c0070cadf7d3d72cc1 /modules
parentf58aef05a58976ee1179fd1caf3e2fba297faf4f (diff)
- Made LOCOPS messages appear as a NOTICE
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2105 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r--modules/m_locops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/m_locops.c b/modules/m_locops.c
index d6f140b..b3c9940 100644
--- a/modules/m_locops.c
+++ b/modules/m_locops.c
@@ -62,9 +62,8 @@ mo_locops(struct Client *client_p, struct Client *source_p,
return;
}
- sendto_wallops_flags(UMODE_LOCOPS, source_p, "LOCOPS - %s",
- message);
-
+ sendto_realops_flags(UMODE_ALL, L_ALL, SEND_LOCOPS, "from: %s: %s",
+ source_p->name, message);
cluster_a_line(source_p, "LOCOPS", 0, SHARED_LOCOPS, message);
}
@@ -83,7 +82,8 @@ ms_locops(struct Client *client_p, struct Client *source_p,
if (find_matching_name_conf(CONF_ULINE, source_p->servptr->name,
"*", "*", SHARED_LOCOPS))
- sendto_wallops_flags(UMODE_LOCOPS, source_p, "SLOCOPS - %s", parv[2]);
+ sendto_realops_flags(UMODE_ALL, L_ALL, SEND_LOCOPS, "from: %s: %s",
+ source_p->name, parv[2]);
}
static struct Message locops_msgtab = {