| 124 |
|
{ |
| 125 |
|
int dolen = 0; |
| 126 |
|
int checkflood = 1; |
| 127 |
< |
struct LocalUser *lclient_p = client_p->localClient; |
| 127 |
> |
struct Connection *lclient_p = client_p->localClient; |
| 128 |
|
|
| 129 |
|
if (IsUnknown(client_p)) |
| 130 |
|
{ |
| 249 |
|
flood_recalc(fde_t *fd, void *data) |
| 250 |
|
{ |
| 251 |
|
struct Client *client_p = data; |
| 252 |
< |
struct LocalUser *lclient_p = client_p->localClient; |
| 252 |
> |
struct Connection *lclient_p = client_p->localClient; |
| 253 |
|
|
| 254 |
|
/* allow a bursting client their allocation per second, allow |
| 255 |
|
* a client whos flooding an extra 2 per second |