]> jfr.im git - irc/freenode/solanum.git/commitdiff
Make show_ip not care about remoteness (#139) main origin/HEAD origin/main
authorEd Kellett <redacted>
Fri, 9 Apr 2021 20:01:11 +0000 (21:01 +0100)
committerGitHub <redacted>
Fri, 9 Apr 2021 20:01:11 +0000 (20:01 +0000)
ircd/client.c

index dd01d7442686f8371e9b3c7e74e37fa309dd589b..1eede7e0e135fa8612f0632416cdeba7fca10d6b 100644 (file)
@@ -1833,7 +1833,7 @@ show_ip(struct Client *source_p, struct Client *target_p)
                 * to local opers.
                 */
                if(!ConfigFileEntry.hide_spoof_ips &&
-                  (source_p == NULL || (MyConnect(source_p) && HasPrivilege(source_p, "auspex:hostname"))))
+                  (source_p == NULL || HasPrivilege(source_p, "auspex:hostname")))
                        return 1;
                return 0;
        }