diff options
author | gaffatape <gaffa@folkemagt.dk> | 2016-09-21 16:43:16 +0200 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2016-10-08 14:55:58 -0400 |
commit | 492c209d07b3da4332adced248454d3567bdb3c8 (patch) | |
tree | 54d2d740249468398e4285a136081fc3d5ec28b6 /src/common/userlist.c | |
parent | 29b5785bb4ee2ca45495bbdbdce027cc7a3e09f8 (diff) |
Don't update usercount if doing nameslist
Diffstat (limited to 'src/common/userlist.c')
-rw-r--r-- | src/common/userlist.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |