X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/f80e76cf2c978ddb052ef33787bb7ec5eac78315..c387fc41ae496de901a556928e0c65736d5ced4f:/modules/m_who.c?ds=inline diff --git a/modules/m_who.c b/modules/m_who.c index 834ab75..b8ffc87 100644 --- a/modules/m_who.c +++ b/modules/m_who.c @@ -467,7 +467,7 @@ do_who(struct Client *source_p, struct Client *target_p, struct membership *mspt const char *q; rb_sprintf(status, "%c%s%s", - (get_metadata(target_p, "away") != NULL) ? 'G' : 'H', IsOper(target_p) ? "*" : "", msptr ? find_channel_status(msptr, fmt->fields || IsCapable(source_p, CLICAP_MULTI_PREFIX)) : ""); + target_p->user->away ? 'G' : 'H', IsOper(target_p) ? "*" : "", msptr ? find_channel_status(msptr, fmt->fields || IsCapable(source_p, CLICAP_MULTI_PREFIX)) : ""); if (fmt->fields == 0) sendto_one(source_p, form_str(RPL_WHOREPLY), me.name,