make some authd warnings L_NETWIDE
This commit is contained in:
parent
cd219040a7
commit
687f290a6c
2 changed files with 4 additions and 4 deletions
|
@ -318,7 +318,7 @@ ident_start(struct auth_client *auth)
|
|||
|
||||
if((query->F = rb_socket(family, SOCK_STREAM, auth->protocol, "ident")) == NULL)
|
||||
{
|
||||
warn_opers(L_DEBUG, "Could not create ident socket: %s", strerror(errno));
|
||||
warn_opers(L_WARN, "Could not create ident socket: %s", strerror(errno));
|
||||
client_fail(auth, REPORT_FAIL);
|
||||
return true; /* Not a fatal error */
|
||||
}
|
||||
|
|
|
@ -232,15 +232,15 @@ cmd_oper_warn(int parc, char **parv)
|
|||
inotice("authd: %s", parv[2]);
|
||||
break;
|
||||
case 'W': /* Warning */
|
||||
sendto_realops_snomask(SNO_GENERAL, L_ALL, "authd WARNING: %s", parv[2]);
|
||||
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "authd WARNING: %s", parv[2]);
|
||||
iwarn("authd: %s", parv[2]);
|
||||
break;
|
||||
case 'C': /* Critical (error) */
|
||||
sendto_realops_snomask(SNO_GENERAL, L_ALL, "authd CRITICAL: %s", parv[2]);
|
||||
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "authd CRITICAL: %s", parv[2]);
|
||||
ierror("authd: %s", parv[2]);
|
||||
break;
|
||||
default: /* idk */
|
||||
sendto_realops_snomask(SNO_GENERAL, L_ALL, "authd sent us an unknown oper notice type (%s): %s", parv[1], parv[2]);
|
||||
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "authd sent us an unknown oper notice type (%s): %s", parv[1], parv[2]);
|
||||
ilog(L_MAIN, "authd unknown oper notice type (%s): %s", parv[1], parv[2]);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue