diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-12-01 20:14:49 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-12-01 20:14:49 +0000 |
commit | be2a677ddd01859a61f484aa8f1e5d916a8f3ca5 (patch) | |
tree | f0b5fe8049221ecaebbe6cdf00b55d1331e85e68 /include | |
parent | 9994478a85358bfa48bd5b764ebc1e74e928d57a (diff) |
Remove lines_in and reset_due flood protection mechanism, recvq/sendq on their own now fill this role, as we have proper penalties.
This tidies up *a lot* of code, and also saves a further sizeof(time_t) + sizeof(unsigned int) per user.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10838 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/users.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/users.h b/include/users.h index 6bb37f3e0..23a520fe0 100644 --- a/include/users.h +++ b/include/users.h @@ -633,14 +633,6 @@ class CoreExport User : public EventHandler */ bool quietquit; - /** Flood counters - lines received - */ - unsigned int lines_in; - - /** Flood counters - time lines_in is due to be reset - */ - time_t reset_due; - /** If this is set to true, then all socket operations for the user * are dropped into the bit-bucket. * This value is set by QuitUser, and is not needed seperately from that call. |