X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fs_stats.c;h=89ef883446b68bb879f4bd579d8bb7a8f5c0a21c;hb=9b1f5beca29ec78141f19a19d689f0f7cc3fe3ac;hp=75d3b8ae137d3053ff8215a9872240b8ec920f86;hpb=9e97df973e333c18f65f251a213fcf736e52653f;p=ircu2.10.12-pk.git diff --git a/ircd/s_stats.c b/ircd/s_stats.c index 75d3b8a..89ef883 100644 --- a/ircd/s_stats.c +++ b/ircd/s_stats.c @@ -106,7 +106,7 @@ stats_configured_links(struct Client *sptr, struct StatDesc* sd, int stat, host = BadPtr(tmp->host) ? null : tmp->host; pass = BadPtr(tmp->passwd) ? null : tmp->passwd; name = BadPtr(tmp->name) ? null : tmp->name; - port = tmp->port; + port = tmp->address.port; /* * On K line the passwd contents can be * displayed on STATS reply. -Vesa @@ -181,7 +181,7 @@ stats_access(struct Client *to, struct StatDesc *sd, int stat, char *param) !mmatch(param, aconf->name)))) { send_reply(to, RPL_STATSILINE, 'I', aconf->host, aconf->name, - aconf->port, get_conf_class(aconf)); + aconf->address.port, get_conf_class(aconf)); if (--count == 0) break; }