src/tools.c (user_matches_glob): Use correct test to determine whether
the user's host is hidden.
git-archimport-id: srvx@srvx.net--2006/srvx--devo--1.3--patch-13
# arch-tag: automatic-ChangeLog--srvx@srvx.net--2006/srvx--devo--1.3
#
+2006-04-29 03:11:35 GMT Michael Poole <mdpoole@troilus.org> patch-13
+
+ Summary:
+ Fix visible matching for fake and +x-hidden hosts.
+ Revision:
+ srvx--devo--1.3--patch-13
+
+ src/tools.c (user_matches_glob): Use correct test to determine whether
+ the user's host is hidden.
+
+ modified files:
+ ChangeLog src/tools.c
+
+
2006-04-07 00:56:38 GMT Michael Poole <mdpoole@troilus.org> patch-12
Summary:
return 1;
}
/* If only matching the visible hostnames, bail early. */
- if ((flags & MATCH_VISIBLE) && (IsFakeHost(user) || IsHiddenHost(user)))
+ if ((flags & MATCH_VISIBLE) && IsHiddenHost(user)
+ && (IsFakeHost(user) || (hidden_host_suffix && user->handle_info)))
return 0;
/* If it might be an IP glob, test that. */
if (!glob[strspn(glob, "0123456789./*?")]