wm: ircd

Download patch

ref: 03ceb44221cf55c7435e138a527831d0995fb336
parent: b273c2cb5e7dc25efaa50fbf7253252deb240175
author: mkf <mkf@cloud9p.org>
date: Sun Sep 24 07:47:29 EDT 2023

relax flooding rules a bit

--- a/ircd.c
+++ b/ircd.c
@@ -1058,11 +1058,11 @@
 
 	now = time(0);
 	if(c->msgtimer < now){
-		c->msgtimer = now+2;
+		c->msgtimer = now+1;
 		return 0;
 	}
 	if(c->msgtimer < now+10){
-		c->msgtimer += 2;
+		c->msgtimer += 1;
 		return 0;
 	}
 	dprint("%d: flood detected\n", c->fd);