diff --git a/modules/m_stats.c b/modules/m_stats.c index d77791e52..4f5ebe73a 100644 --- a/modules/m_stats.c +++ b/modules/m_stats.c @@ -1654,7 +1654,7 @@ stats_l_client(struct Client *source_p, struct Client *target_p, else { sendto_one_numeric(source_p, RPL_STATSLINKINFO, Lformat, - show_ip(source_p, target_p) ? + (show_ip(source_p, target_p) || source_p == target_p) ? (IsUpper(statchar) ? get_client_name(target_p, SHOW_IP) : get_client_name(target_p, HIDE_IP)) :