diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-29 08:28:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-29 08:28:33 +0000 |
commit | 483ec8439c6564f8e3783223a01c641326b6f2d8 (patch) | |
tree | 15060c4e0ab845d5e2200c6841defb6ffebfea5d /include/users.h | |
parent | b14bd7e6682f2d3db52a512f6dddded39d328c63 (diff) |
A few anti-flood features
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1260 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 5 |
1 files changed, 5 insertions, 0 deletions
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() { } |