From 492c209d07b3da4332adced248454d3567bdb3c8 Mon Sep 17 00:00:00 2001 From: gaffatape Date: Wed, 21 Sep 2016 16:43:16 +0200 Subject: Don't update usercount if doing nameslist --- src/common/userlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/userlist.c b/src/common/userlist.c index da40ff14..0f28a000 100644 --- a/src/common/userlist.c +++ b/src/common/userlist.c @@ -416,7 +416,8 @@ userlist_add (struct session *sess, char *name, char *hostname, sess->me = user; fe_userlist_insert (sess, user, FALSE); - fe_userlist_numbers (sess); + if(sess->end_of_names) + fe_userlist_numbers (sess); } static int -- cgit 1.4.1