From: B.Greenham Date: Thu, 4 Mar 2010 22:49:15 +0000 (-0500) Subject: Make it so that channels can have more than one piece of channel metadata with the... X-Git-Tag: shadowircd-6.0.0~58 X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/cc39ce707d615d30a9a5a3f94e198c7eaf5fefae Make it so that channels can have more than one piece of channel metadata with the same value. --- diff --git a/src/channel.c b/src/channel.c index 44c8d9f..991c026 100644 --- a/src/channel.c +++ b/src/channel.c @@ -1914,9 +1914,6 @@ channel_metadata_add(struct Channel *target, const char *name, const char *value { struct Metadata *md; - if(irc_dictionary_find(target->c_metadata, name) != NULL) - return NULL; - md = rb_malloc(sizeof(struct Metadata)); md->name = rb_strdup(name); md->value = rb_strdup(value);