Merge pull request #290 from edk0/quiet-override
override: don't spam about (un)setting the mode
This commit is contained in:
commit
3aab744e13
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue