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

Comparing ircd-hybrid/trunk/src/user.c (file contents):
Revision 7999 by michael, Tue Mar 14 13:50:59 2017 UTC vs.
Revision 8001 by michael, Tue Mar 14 14:12:31 2017 UTC

# Line 143 | Line 143 | show_lusers(struct Client *client_p)
143    if (!ConfigServerHide.hide_servers || HasUMode(client_p, UMODE_OPER))
144      sendto_one_numeric(client_p, &me, RPL_STATSCONN, Count.max_loc_con,
145                         Count.max_loc, Count.totalrestartcount);
146
147  if ((dlink_list_length(&local_client_list) + dlink_list_length(&local_server_list)) > Count.max_loc_con)
148    Count.max_loc_con = dlink_list_length(&local_client_list) + dlink_list_length(&local_server_list);
146   }
147  
148   /* report_and_set_user_flags()
# Line 475 | Line 472 | register_local_user(struct Client *clien
472                             Count.max_loc);
473    }
474  
475 +  if ((dlink_list_length(&local_client_list) +
476 +       dlink_list_length(&local_server_list)) > Count.max_loc_con)
477 +    Count.max_loc_con = dlink_list_length(&local_client_list) +
478 +                        dlink_list_length(&local_server_list);
479 +
480    if (dlink_list_length(&global_client_list) > Count.max_tot)
481      Count.max_tot = dlink_list_length(&global_client_list);
482    ++Count.totalrestartcount;

Diff Legend

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