updates.
[runtime.git] / apps / silcd / idlist.c
index 9cdbc223487148a4f8ab7a050fe8ec7aa453faba..3de0c40e854f5cb86b6c0e5f76be07924d6433af 100644 (file)
@@ -587,7 +587,7 @@ static void silc_idlist_del_channel_foreach(void *key, void *context,
 
   /* 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);
 }