From 0d165b52627c56eecef51e2f7bd9106d9c22faf2 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 6 Feb 2011 15:50:58 +0100 Subject: [PATCH] override: Apply floodcount to override sends. This avoids strange behaviour where quieting an override oper lets them send more, and matches ircd-seven. --- extensions/override.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/override.c b/extensions/override.c index 844be47bd..7c4fdf17a 100644 --- a/extensions/override.c +++ b/extensions/override.c @@ -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)",