]> jfr.im git - irc/evilnet/x3.git/commitdiff
woopsie
authorsirvulcan <redacted>
Mon, 31 Jan 2005 02:11:36 +0000 (02:11 +0000)
committersirvulcan <redacted>
Mon, 31 Jan 2005 02:11:36 +0000 (02:11 +0000)
src/tools.c

index 85912a61c63caf9b554ec00eb3610686362b8a53..5468d50ec2a998931a44c9aec7ad3f82318e3ebe 100644 (file)
@@ -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];