]> jfr.im git - irc/evilnet/x3.git/commitdiff
Fix for bug in X3.unban handling
authorMatthew Beeching <redacted>
Tue, 29 Sep 2015 15:35:37 +0000 (16:35 +0100)
committerMatthew Beeching <redacted>
Tue, 29 Sep 2015 15:35:37 +0000 (16:35 +0100)
src/tools.c

index 357c1c7c3f6eb35a6c66d4957988947115c932f6..afaed60c9b43421edc1aaec402a1c7244148eac9 100644 (file)
@@ -788,7 +788,8 @@ user_matches_glob(struct userNode *user, const char *orig_glob, int flags, int s
 
     /* If only matching the visible hostnames, bail early. */
     if ((flags & MATCH_VISIBLE) && IsHiddenHost(user)
-        && (IsFakeHost(user) || (hidden_host_suffix && user->handle_info)))
+        && (IsFakeHost(user) || (hidden_host_suffix && user->handle_info) ||
+            user->crypthost || user->cryptip))
         return 0;
     /* If it might be an IP glob, test that. */
     if (!glob[strspn(glob, "0123456789./*?")]