ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/ipcache.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/ipcache.c (file contents):
Revision 4340 by michael, Fri Aug 1 18:37:01 2014 UTC vs.
Revision 4341 by michael, Sat Aug 2 16:53:48 2014 UTC

# Line 167 | Line 167 | ipcache_remove_address(struct irc_ssaddr
167      assert(iptr->count > 0);
168  
169      if (--iptr->count == 0 &&
170 <        (CurrentTime - iptr->last_attempt) >= ConfigFileEntry.throttle_time)
170 >        (CurrentTime - iptr->last_attempt) >= ConfigGeneral.throttle_time)
171      {
172        dlinkDelete(&iptr->node, &ip_hash_table[hash_index]);
173        mp_pool_release(iptr);
# Line 194 | Line 194 | ipcache_remove_expired_entries(void *unu
194        struct ip_entry *iptr = ptr->data;
195  
196        if (iptr->count == 0 &&
197 <          (CurrentTime - iptr->last_attempt) >= ConfigFileEntry.throttle_time)
197 >          (CurrentTime - iptr->last_attempt) >= ConfigGeneral.throttle_time)
198        {
199          dlinkDelete(&iptr->node, &ip_hash_table[i]);
200          mp_pool_release(iptr);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines