m_message: global snote when massnotice is used
This commit is contained in:
parent
67ab06dd8a
commit
f4b4216a9f
1 changed files with 8 additions and 0 deletions
|
@ -957,6 +957,14 @@ handle_special(enum message_type msgtype, struct Client *client_p,
|
|||
return;
|
||||
}
|
||||
|
||||
if(MyClient(source_p))
|
||||
{
|
||||
sendto_realops_snomask(SNO_GENERAL, L_ALL | L_NETWIDE, "%s sent mass-%s to %s: %s",
|
||||
get_oper_name(source_p),
|
||||
msgtype == MESSAGE_TYPE_PRIVMSG ? "privmsg" : "notice",
|
||||
nick, text);
|
||||
}
|
||||
|
||||
sendto_match_butone(IsServer(client_p) ? client_p : NULL, source_p,
|
||||
nick + 1,
|
||||
(*nick == '#') ? MATCH_HOST : MATCH_SERVER,
|
||||
|
|
Loading…
Reference in a new issue