diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-25 20:56:53 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-25 20:56:53 +0000 |
commit | cdb6faff57adf2eb7477b1adc928fc8e00708b9f (patch) | |
tree | abfd6584cd209dd5babbfe20337d07a4d60e60f5 | |
parent | 5fa272da737c032c87840d554eb09405e7a6f852 (diff) |
- LOCOPS notices should only be sent to opers that have usermode +l
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2113 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r-- | modules/m_locops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_locops.c b/modules/m_locops.c index b3c9940..19546f6 100644 --- a/modules/m_locops.c +++ b/modules/m_locops.c @@ -62,7 +62,7 @@ mo_locops(struct Client *client_p, struct Client *source_p, return; } - sendto_realops_flags(UMODE_ALL, L_ALL, SEND_LOCOPS, "from: %s: %s", + sendto_realops_flags(UMODE_LOCOPS, L_ALL, SEND_LOCOPS, "from: %s: %s", source_p->name, message); cluster_a_line(source_p, "LOCOPS", 0, SHARED_LOCOPS, message); } @@ -82,7 +82,7 @@ ms_locops(struct Client *client_p, struct Client *source_p, if (find_matching_name_conf(CONF_ULINE, source_p->servptr->name, "*", "*", SHARED_LOCOPS)) - sendto_realops_flags(UMODE_ALL, L_ALL, SEND_LOCOPS, "from: %s: %s", + sendto_realops_flags(UMODE_LOCOPS, L_ALL, SEND_LOCOPS, "from: %s: %s", source_p->name, parv[2]); } |