Merge pull request #290 from edk0/quiet-override

override: don't spam about (un)setting the mode
This commit is contained in:
Aaron Jones 2019-10-06 21:57:42 +00:00 committed by GitHub
commit 3aab744e13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
} }