- DICTIONARY_FOREACH(md, &iter, target_p->user->metadata)
- {
- /* XXX: hack around "away" for legacy clients. --nenolod */
- if (!IsCapable(source_p, CLICAP_PRESENCE) && !irccmp(md->key, "away"))
- continue;
-
- sendto_one_numeric(source_p, RPL_WHOISMETADATA,
- form_str(RPL_WHOISMETADATA),
- target_p->name, md->key, md->value);
- }
-