override: don't spam about (un)setting the mode

We will spam about any uses of it, so this just seems like extra noise.
This commit is contained in:
Ed Kellett 2019-10-06 22:23:44 +01:00
parent a5c6d66ac8
commit e5742a172b
No known key found for this signature in database
GPG key ID: CB9986DEF342FABC

View file

@ -131,8 +131,6 @@ check_umode_change(void *vdata)
if (changed) if (changed)
{ {
update_session_deadline(source_p, NULL); update_session_deadline(source_p, NULL);
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "%s has enabled oper-override (+p)",
get_oper_name(source_p));
} }
} }
else if (changed && !(source_p->umodes & user_modes['p'])) else if (changed && !(source_p->umodes & user_modes['p']))
@ -146,9 +144,6 @@ check_umode_change(void *vdata)
if (session_p->client != source_p) if (session_p->client != source_p)
continue; continue;
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "%s has disabled oper-override (+p)",
get_oper_name(session_p->client));
rb_dlinkDelete(n, &overriding_opers); rb_dlinkDelete(n, &overriding_opers);
rb_free(session_p); rb_free(session_p);
} }