data->last_receive = idata->last_receive;
data->last_sent = idata->last_sent;
data->status = idata->status;
+
+ data->created = time(0); /* Update creation time */
}
/* Free's all data in the common ID entry data structure. */
channel->router = router;
channel->channel_key = channel_key;
channel->hmac = hmac;
+ channel->created = time(0);
if (!channel->hmac)
if (!silc_hmac_alloc(SILC_DEFAULT_HMAC, NULL, &channel->hmac)) {
silc_free(channel);