--- a/mcabber/src/caps.c Tue Nov 03 22:38:02 2009 +0100 +++ b/mcabber/src/caps.c Tue Nov 03 12:51:14 2009 +0200 @@ -94,7 +94,7 @@ c = g_hash_table_lookup(caps_cache, hash); if (c) { char *f = g_strdup(feature); - g_hash_table_insert(c->features, f, f); + g_hash_table_replace(c->features, f, f); } }