X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/987ef7eb1f6c6e6bfb79fc0e7759702ff372ac7a..8cf4cea3da2528938b162b9b5f92524c27628fdf:/modules/m_userhost.c diff --git a/modules/m_userhost.c b/modules/m_userhost.c index 766334c..108974e 100644 --- a/modules/m_userhost.c +++ b/modules/m_userhost.c @@ -84,7 +84,7 @@ m_userhost(struct Client *client_p, struct Client *source_p, int parc, const cha rl = rb_sprintf(response, "%s%s=%c%s@%s ", target_p->name, IsOper(target_p) ? "*" : "", - (get_metadata(target_p, "away") != NULL) ? '-' : '+', + (target_p->user->away) ? '-' : '+', target_p->username, target_p->sockhost); } @@ -93,7 +93,7 @@ m_userhost(struct Client *client_p, struct Client *source_p, int parc, const cha rl = rb_sprintf(response, "%s%s=%c%s@%s ", target_p->name, IsOper(target_p) ? "*" : "", - (get_metadata(target_p, "away") != NULL) ? '-' : '+', + (target_p->user->away) ? '-' : '+', target_p->username, target_p->host); }