From: Perry Lorier Date: Mon, 21 Feb 2005 08:52:03 +0000 (+0000) Subject: Author: Perry Lorier X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=e2ab371068a988053b28cabc27e279ec62029329 Author: Perry Lorier Log message: Don't unintentionally reveal hub IP's. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1321 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index 4520829..4545f05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-02-21 Perry Lorier + + * ircd/s_stats.c: Hide the hub IP's. They're kinda important. + 2005-02-20 Perry Lorier * ircd/ircd_parser.y: Moved some parse errors from log_write()'s to diff --git a/ircd/s_stats.c b/ircd/s_stats.c index d61f0f5..9fdb35d 100644 --- a/ircd/s_stats.c +++ b/ircd/s_stats.c @@ -104,7 +104,7 @@ stats_configured_links(struct Client *sptr, const struct StatDesc* sd, if (tmp->status & CONF_UWORLD) send_reply(sptr, RPL_STATSULINE, host); else if (tmp->status & CONF_SERVER) - send_reply(sptr, RPL_STATSCLINE, name, (host[0] == ':' ? "0" : ""), host, port, maximum, hub_limit, get_conf_class(tmp)); + send_reply(sptr, RPL_STATSCLINE, name, "", "*", port, maximum, hub_limit, get_conf_class(tmp)); else if (tmp->status & CONF_CLIENT) send_reply(sptr, RPL_STATSILINE, (tmp->host ? tmp->host : "*"), maximum,