Make show_ip not care about remoteness (#139)

This commit is contained in:
Ed Kellett 2021-04-09 21:01:11 +01:00 committed by GitHub
parent a03871c657
commit f89a8deb3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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;
}