diff options
-rw-r--r-- | modules/m_locops.c | 8 |
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 = { |