struct ConfItem *tmp;
unsigned short int port;
int maximum;
- char *host, *pass, *name;
+ char *host, *pass, *name, *hub_limit;
for (tmp = GlobalConfList; tmp; tmp = tmp->next)
{
host = BadPtr(tmp->host) ? null : tmp->host;
pass = BadPtr(tmp->passwd) ? null : tmp->passwd;
name = BadPtr(tmp->name) ? null : tmp->name;
+ hub_limit = BadPtr(tmp->hub_limit) ? null : tmp->hub_limit;
maximum = tmp->maximum;
port = tmp->address.port;
if (tmp->status & CONF_UWORLD)
send_reply(sptr, RPL_STATSULINE, name);
else if (tmp->status & CONF_SERVER)
- send_reply(sptr, RPL_STATSCLINE, name, port, get_conf_class(tmp));
+ send_reply(sptr, RPL_STATSCLINE, name, host, port, maximum, hub_limit, get_conf_class(tmp));
else if (tmp->status & CONF_CLIENT)
send_reply(sptr, RPL_STATSILINE, host, maximum, name, port, get_conf_class(tmp));
else if (tmp->status & CONF_OPERATOR)