X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/f71e18eee589ba32d142c73fdb206c8541c85568..0fdb2570901c40e19badddc9a17c82b66eac4487:/modules/m_who.c diff --git a/modules/m_who.c b/modules/m_who.c index e83ff4c..8ef2624 100644 --- a/modules/m_who.c +++ b/modules/m_who.c @@ -244,7 +244,7 @@ who_common_channel(struct Client *source_p, struct Channel *chptr, { if((mask == NULL) || match(mask, target_p->name) || match(mask, target_p->username) || - match(mask, target_p->host) || match(mask, target_p->user->server) || + match(mask, target_p->host) || match(mask, target_p->servptr->name) || (IsOper(source_p) && match(mask, target_p->orighost)) || match(mask, target_p->info)) { @@ -313,7 +313,7 @@ who_global(struct Client *source_p, const char *mask, int server_oper, int opers { if(!mask || match(mask, target_p->name) || match(mask, target_p->username) || - match(mask, target_p->host) || match(mask, target_p->user->server) || + match(mask, target_p->host) || match(mask, target_p->servptr->name) || (IsOper(source_p) && match(mask, target_p->orighost)) || match(mask, target_p->info)) { @@ -385,7 +385,7 @@ do_who(struct Client *source_p, struct Client *target_p, const char *chname, con sendto_one(source_p, form_str(RPL_WHOREPLY), me.name, source_p->name, (chname) ? (chname) : "*", target_p->username, - target_p->host, target_p->user->server, target_p->name, + target_p->host, target_p->servptr->name, target_p->name, status, ConfigServerHide.flatten_links ? 0 : target_p->hopcount, target_p->info);