From: sirvulcan Date: Mon, 31 Jan 2005 02:11:36 +0000 (+0000) Subject: woopsie X-Git-Tag: 1.9~694 X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/commitdiff_plain/efabf227cbb1c2dad9a61ee0099115c7359a8a14 woopsie --- diff --git a/src/tools.c b/src/tools.c index 85912a6..5468d50 100644 --- a/src/tools.c +++ b/src/tools.c @@ -424,7 +424,9 @@ user_matches_glob_broken(struct userNode *user, const char *orig_glob, int inclu return 1; /* Check for a fakehost match. */ if (IsFakeHost(user) && match_ircglob(user->fakehost, glob)) - return 1; + return 1; + if (IsSetHost(user) && match_ircglob(sethostname, glob)) + return 1; /* Check for an account match. */ if (hidden_host_suffix && user->handle_info) { char hidden_host[HOSTLEN+1];