From 483ec8439c6564f8e3783223a01c641326b6f2d8 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 29 Apr 2005 08:28:33 +0000 Subject: A few anti-flood features git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1260 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/users.h b/include/users.h index a897d8282..a607f12c5 100644 --- a/include/users.h +++ b/include/users.h @@ -179,6 +179,11 @@ class userrec : public connection */ std::string recvq; + /** Flood counters + */ + long lines_in; + time_t reset_due; + userrec(); virtual ~userrec() { } -- cgit v1.2.3