summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-29 08:50:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-29 08:50:57 +0000
commit96bf59631c7a17d9f0e99847a33df85a279aae4d (patch)
tree7576cbff37832a00d504938d3fade70440e305ab /src/users.cpp
parent483ec8439c6564f8e3783223a01c641326b6f2d8 (diff)
Added some pretty mean anti-flood features
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1261 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 40589b234..0ece63bc9 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -40,6 +40,8 @@ userrec::userrec()
strcpy(server,"");
strcpy(awaymsg,"");
strcpy(oper,"");
+ reset_due = TIME;
+ lines_in = 0;
fd = lastping = signon = idle_lastmsg = nping = registered = 0;
flood = port = bytes_in = bytes_out = cmds_in = cmds_out = 0;
haspassed = false;