From: Pekka Riikonen Date: Mon, 4 Nov 2002 13:09:42 +0000 (+0000) Subject: Channel statistics fix. X-Git-Tag: silc.client.0.9.8~24 X-Git-Url: http://git.silc.fi/gitweb/?a=commitdiff_plain;h=01cd1ac59135280fba766cbab007b13a41a931bf;p=silc.git Channel statistics fix. --- diff --git a/apps/silcd/packet_receive.c b/apps/silcd/packet_receive.c index 089a05d3..feb4e019 100644 --- a/apps/silcd/packet_receive.c +++ b/apps/silcd/packet_receive.c @@ -2318,7 +2318,7 @@ SilcClientEntry silc_server_new_client(SilcServer server, idata->status |= SILC_IDLIST_STATUS_REGISTERED; client->nickname = nickname; client->username = username; - client->userinfo = realname ? realname : strdup(" "); + client->userinfo = realname ? realname : strdup(username); client->id = client_id; id_len = silc_id_get_len(client_id, SILC_ID_CLIENT); @@ -3064,10 +3064,6 @@ void silc_server_new_channel(SilcServer server, silc_free(channel_id); - /* Update statistics */ - server->stat.channels++; - server->stat.cell_channels++; - /* Since the channel is coming from server and we also know about it then send the JOIN notify to the server so that it see's our users on the channel "joining" the channel. */