if (!(doall || wilds) && 0 != ircd_strcmp(name, acptr->name))
continue;
send_reply(sptr, SND_EXPLICIT | RPL_STATSLINKINFO,
- "%s %u %u %u %u %u :%Tu", acptr->name,
+ "%s %u %u %u %u %u :%Tu", (*acptr->name) ? acptr->name : "<unregistered>",
(int)DBufLength(&acptr->sendQ), (int)acptr->sendM,
(int)acptr->sendK, (int)acptr->receiveM,
(int)acptr->receiveK, CurrentTime - acptr->firsttime);
/*
* We ran out of bits to count this
*/
- return exit_client(cptr, sptr, &me, "More than 255 connections from this address");
+ return exit_client(&me, sptr, &me, "More than 255 connections from this address");
}
tmpstr = umode_str(sptr);