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

Comparing ircd-hybrid/branches/8.2.x/src/user.c (file contents):
Revision 7964 by michael, Mon Mar 13 18:58:59 2017 UTC vs.
Revision 7966 by michael, Mon Mar 13 19:09:33 2017 UTC

# Line 129 | Line 129 | show_lusers(struct Client *client_p)
129  
130    if (!ConfigServerHide.hide_servers || HasUMode(client_p, UMODE_OPER))
131    {
132 <    sendto_one_numeric(client_p, &me, RPL_LUSERME, Count.local, Count.myserver);
132 >    sendto_one_numeric(client_p, &me, RPL_LUSERME, Count.local, dlink_list_length(&local_server_list));
133      sendto_one_numeric(client_p, &me, RPL_LOCALUSERS, Count.local, Count.max_loc);
134    }
135    else
# Line 147 | Line 147 | show_lusers(struct Client *client_p)
147    if (Count.local > Count.max_loc_cli)
148      Count.max_loc_cli = Count.local;
149  
150 <  if ((Count.local + Count.myserver) > Count.max_loc_con)
151 <    Count.max_loc_con = Count.local + Count.myserver;
150 >  if ((Count.local + dlink_list_length(&local_server_list)) > Count.max_loc_con)
151 >    Count.max_loc_con = Count.local + dlink_list_length(&local_server_list);
152   }
153  
154   /* report_and_set_user_flags()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines