mirror of
https://github.com/osmarks/ngircd.git
synced 2025-02-07 21:00:03 +00:00
"WHO <hostmask>": use displayed hostname for matching
Use the currently "displayed hostname" (which can be cloaked!) for hostname matching, not the real one. In other words: don't display all the cloaked users on a specific real hostname! Thanks to DNS <dns@rbose.org> for reporting this issue. (cherry picked from commit 1e8b775a7a6d0c390e037bd73332072e7c510525)
This commit is contained in:
parent
84612fe773
commit
1265eb15b8
@ -950,7 +950,7 @@ IRC_WHO_Mask(CLIENT *Client, char *Mask, bool OnlyOps)
|
|||||||
if (Mask) {
|
if (Mask) {
|
||||||
/* Match pattern against user host/server/name/nick */
|
/* Match pattern against user host/server/name/nick */
|
||||||
client_match = MatchCaseInsensitive(Mask,
|
client_match = MatchCaseInsensitive(Mask,
|
||||||
Client_Hostname(c));
|
Client_HostnameDisplayed(c));
|
||||||
if (!client_match)
|
if (!client_match)
|
||||||
client_match = MatchCaseInsensitive(Mask,
|
client_match = MatchCaseInsensitive(Mask,
|
||||||
Client_ID(Client_Introducer(c)));
|
Client_ID(Client_Introducer(c)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user