projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git]
/
ircd
/
parse.c
diff --git
a/ircd/parse.c
b/ircd/parse.c
index 64893c8fa2c482d4c606a9b00255b93c3063524f..b718827e02d5aaab03791df3992b2b8b2d818a68 100644
(file)
--- a/
ircd/parse.c
+++ b/
ircd/parse.c
@@
-861,7
+861,7
@@
int parse_client(struct Client *cptr, char *buffer, char *bufend)
i = bufend - ((s) ? s : ch);
mptr->bytes += i;
if ((mptr->flags & MFLG_SLOW))
- c
ptr->since
+= (2 + i / 120);
+ c
li_since(cptr)
+= (2 + i / 120);
/*
* Allow only 1 msg per 2 seconds
* (on average) to prevent dumping.