Make it so that the same user can have more than one metadata entry of the same type.
This commit is contained in:
parent
559d530111
commit
a18f1b6ef8
|
@ -1949,9 +1949,6 @@ user_metadata_add(struct Client *target, const char *name, const char *value, in
|
|||
{
|
||||
struct Metadata *md;
|
||||
|
||||
if(irc_dictionary_find(target->user->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