0
0
Fork 0
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:
Jilles Tjoelker 2011-02-06 15:50:58 +01:00
parent f171dafb59
commit 0d165b5262

View file

@ -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)",