Take out some seven-style server notices.
This commit is contained in:
parent
47819d9814
commit
931e8bc49e
|
@ -173,11 +173,7 @@ me_dline(struct Client *client_p, struct Client *source_p, int parc, const char
|
||||||
|
|
||||||
if(!find_shared_conf(source_p->username, source_p->host,
|
if(!find_shared_conf(source_p->username, source_p->host,
|
||||||
source_p->servptr->name, tdline_time > 0 ? SHARED_TDLINE : SHARED_PDLINE))
|
source_p->servptr->name, tdline_time > 0 ? SHARED_TDLINE : SHARED_PDLINE))
|
||||||
{
|
|
||||||
sendto_realops_snomask(SNO_DEBUG, L_NETWIDE, "undline failed %s %s %s",
|
|
||||||
source_p->name, parv[1], parv[2]);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
|
||||||
|
|
||||||
apply_dline(source_p, parv[2], tdline_time, LOCAL_COPY(parv[3]));
|
apply_dline(source_p, parv[2], tdline_time, LOCAL_COPY(parv[3]));
|
||||||
|
|
||||||
|
@ -303,7 +299,7 @@ apply_dline(struct Client *source_p, const char *dlhost, int tdline_time, char *
|
||||||
|
|
||||||
if(EmptyString(oper_reason))
|
if(EmptyString(oper_reason))
|
||||||
{
|
{
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
|
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
||||||
"%s added temporary %d min. D-Line for [%s] [%s]",
|
"%s added temporary %d min. D-Line for [%s] [%s]",
|
||||||
get_oper_name(source_p), tdline_time / 60,
|
get_oper_name(source_p), tdline_time / 60,
|
||||||
aconf->host, reason);
|
aconf->host, reason);
|
||||||
|
@ -313,7 +309,7 @@ apply_dline(struct Client *source_p, const char *dlhost, int tdline_time, char *
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
|
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
||||||
"%s added temporary %d min. D-Line for [%s] [%s|%s]",
|
"%s added temporary %d min. D-Line for [%s] [%s|%s]",
|
||||||
get_oper_name(source_p), tdline_time / 60,
|
get_oper_name(source_p), tdline_time / 60,
|
||||||
aconf->host, reason, oper_reason);
|
aconf->host, reason, oper_reason);
|
||||||
|
@ -457,7 +453,7 @@ apply_undline(struct Client *source_p, const char *cidr)
|
||||||
}
|
}
|
||||||
|
|
||||||
sendto_one(source_p, ":%s NOTICE %s :D-Line for [%s] is removed", me.name, source_p->name, aconf->host);
|
sendto_one(source_p, ":%s NOTICE %s :D-Line for [%s] is removed", me.name, source_p->name, aconf->host);
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
|
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
||||||
"%s has removed the D-Line for: [%s]", get_oper_name(source_p), aconf->host);
|
"%s has removed the D-Line for: [%s]", get_oper_name(source_p), aconf->host);
|
||||||
ilog(L_KLINE, "UD %s %s", get_oper_name(source_p), aconf->host);
|
ilog(L_KLINE, "UD %s %s", get_oper_name(source_p), aconf->host);
|
||||||
delete_one_address_conf(aconf->host, aconf);
|
delete_one_address_conf(aconf->host, aconf);
|
||||||
|
|
Loading…
Reference in New Issue