Commit Diff
Diff:
f16d230530424f93541b4ca36e2686ddfb76834a
1e8b775a7a6d0c390e037bd73332072e7c510525
Commit:
1e8b775a7a6d0c390e037bd73332072e7c510525
Tree:
ed9b755297eaca38ceae18ea06d9cedfd776dd59
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Fri Feb 8 16:18:43 2013 UTC
Message:
"WHO ": 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 for reporting this issue.
blob - e9c1ff532ae7a4d4420d9e972f0f8e3904036f33
blob + f9c9b0d2423c97b2ed8e2bf596a5f56fa1efa3ca
--- src/ngircd/irc-info.c
+++ src/ngircd/irc-info.c
@@ -951,7 +951,7 @@ IRC_WHO_Mask(CLIENT *Client, char *Mask, bool OnlyOps)
if (Mask) {
/* Match pattern against user host/server/name/nick */
client_match = MatchCaseInsensitive(Mask,
- Client_Hostname(c));
+ Client_HostnameDisplayed(c));
if (!client_match)
client_match = MatchCaseInsensitive(Mask,
Client_ID(Client_Introducer(c)));
IRCNow