Make it so that channels can have more than one piece of channel metadata with the same value.
This commit is contained in:
parent
05f8f9e493
commit
cc39ce707d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue