]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/client.c
Yay for documenting code....
[irc/rqf/shadowircd.git] / src / client.c
index b76caf4ce9a852181613b5859fe311eb136403be..1cc32b4b20c8640b3ce2fdbdb8596a3abf3c446f 100644 (file)
@@ -1957,7 +1957,7 @@ user_metadata_add(struct Client *target, const char *name, const char *value, in
        
        if(propegate)
                sendto_match_servs(&me, "*", CAP_ENCAP, NOCAPS, "ENCAP * METADATA ADD %s %s :%s",
-                               target->name, name, value);
+                               target->id, name, value);
 
        return md;
 }
@@ -1985,7 +1985,7 @@ user_metadata_delete(struct Client *target, const char *name, int propegate)
 
        if(propegate)
                sendto_match_servs(&me, "*", CAP_ENCAP, NOCAPS, "ENCAP * METADATA DELETE %s %s",
-                               target->name, name);
+                               target->id, name);
 }
 
 /*