mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
override: Apply floodcount to override sends.
This avoids strange behaviour where quieting an override oper lets them send more, and matches ircd-seven.
This commit is contained in:
parent
f171dafb59
commit
0d165b5262
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ hack_can_send(void *vdata)
|
|||
if (data->client->umodes & user_modes['p'])
|
||||
{
|
||||
update_session_deadline(data->client, NULL);
|
||||
data->approved = CAN_SEND_OPV;
|
||||
data->approved = CAN_SEND_NONOP;
|
||||
|
||||
#ifdef XXX_UNSURE_IF_WANT
|
||||
sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "%s is using oper-override on %s (banwalking)",
|
||||
|
|
Loading…
Reference in a new issue