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

Comparing ircd-hybrid/branches/8.2.x/src/channel.c (file contents):
Revision 8751 by michael, Tue Jan 1 11:06:50 2019 UTC vs.
Revision 8795 by michael, Sat Jan 19 00:06:34 2019 UTC

# Line 868 | Line 868 | check_spambot_warning(struct Client *cli
868    }
869    else
870    {
871 <    int t_delta = CurrentTime - client_p->connection->last_leave_time;
871 >    unsigned int t_delta = CurrentTime - client_p->connection->last_leave_time;
872      if (t_delta > JOIN_LEAVE_COUNT_EXPIRE_TIME)
873      {
874 <      int decrement_count = (t_delta / JOIN_LEAVE_COUNT_EXPIRE_TIME);
874 >      unsigned int decrement_count = (t_delta / JOIN_LEAVE_COUNT_EXPIRE_TIME);
875        if (decrement_count > client_p->connection->join_leave_count)
876          client_p->connection->join_leave_count = 0;
877        else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines