Don't update usercount if doing nameslist

This commit is contained in:
gaffatape 2016-09-21 16:43:16 +02:00 committed by TingPing
parent 29b5785bb4
commit 492c209d07

View File

@ -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