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

Comparing ircd-hybrid/trunk/src/ipcache.c (file contents):
Revision 8611 by michael, Thu Nov 1 15:56:52 2018 UTC vs.
Revision 9101 by michael, Wed Jan 1 09:58:45 2020 UTC

# Line 1 | Line 1
1   /*
2   *  ircd-hybrid: an advanced, lightweight Internet Relay Chat Daemon (ircd)
3   *
4 < *  Copyright (c) 1997-2018 ircd-hybrid development team
4 > *  Copyright (c) 1997-2020 ircd-hybrid development team
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 81 | Line 81 | ipcache_record_delete(patricia_node_t *p
81    struct ip_entry *iptr = PATRICIA_DATA_GET(pnode, struct ip_entry);
82  
83    if (iptr->count_local == 0 && iptr->count_remote == 0 &&
84 <      (CurrentTime - iptr->last_attempt) >= ConfigGeneral.throttle_time)
84 >      (event_base->time.sec_monotonic - iptr->last_attempt) >= ConfigGeneral.throttle_time)
85    {
86      patricia_remove(iptr->trie_pointer, pnode);
87  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)