/* Remove the context from the client's channel hash table as that
table and channel's user_list hash table share this same context. */
- silc_hash_table_del_by_context(chl->client->channels, chl->channel, chl);
+ silc_hash_table_del(chl->client->channels, chl->channel);
silc_free(chl);
}