write_whoreply(): respect hostname cloaking
This commit is contained in:
parent
6f4a348b75
commit
32188d821b
|
@ -728,8 +728,10 @@ IRC_VERSION( CLIENT *Client, REQUEST *Req )
|
||||||
static bool
|
static bool
|
||||||
write_whoreply(CLIENT *Client, CLIENT *c, const char *channelname, const char *flags)
|
write_whoreply(CLIENT *Client, CLIENT *c, const char *channelname, const char *flags)
|
||||||
{
|
{
|
||||||
return IRC_WriteStrClient(Client, RPL_WHOREPLY_MSG, Client_ID(Client), channelname,
|
return IRC_WriteStrClient(Client, RPL_WHOREPLY_MSG, Client_ID(Client),
|
||||||
Client_User(c), Client_Hostname(c), Client_ID(Client_Introducer(c)), Client_ID(c),
|
channelname, Client_User(c),
|
||||||
|
Client_HostnameCloaked(c),
|
||||||
|
Client_ID(Client_Introducer(c)), Client_ID(c),
|
||||||
flags, Client_Hops(c), Client_Info(c));
|
flags, Client_Hops(c), Client_Info(c));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1329,7 +1331,6 @@ IRC_Send_NAMES( CLIENT *Client, CHANNEL *Chan )
|
||||||
} /* IRC_Send_NAMES */
|
} /* IRC_Send_NAMES */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send the ISUPPORT numeric (005).
|
* Send the ISUPPORT numeric (005).
|
||||||
* This numeric indicates the features that are supported by this server.
|
* This numeric indicates the features that are supported by this server.
|
||||||
|
|
Loading…
Reference in New Issue