+2006-03-14 Wouter Coekarts <wouter@coekaerts.be>
+
+ * ircd/s_err.c (RPL_STATSILINE): Add two %s to the first field.
+
+ * ircd/s_stats.c (stats_configured_links): Use the new %s's to
+ show username masks for I: lines that have them.
+ (stats_access): Likewise.
+
2006-03-13 Michael Poole <mdpoole@troilus.org>
* ircd/msgq.c (msgq_vmake): Try to clear msgbuf freelist after
/* 214 */
{ 0 },
/* 215 */
- { RPL_STATSILINE, "I %s %d %s%s %d %s", "215" },
+ { RPL_STATSILINE, "I %s%s%s %d %s%s %d %s", "215" },
/* 216 */
{ RPL_STATSKLINE, "%c %s@%s \"%s\" \"%s\" 0 0", "216" },
/* 217 */
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->username ? tmp->username : ""), (tmp->username ? "@" : ""),
(tmp->host ? tmp->host : "*"), maximum,
(name[0] == ':' ? "0" : ""), (tmp->name ? tmp->name : "*"),
port, get_conf_class(tmp));
|| (aconf->name && !match(param, aconf->name))))
{
send_reply(to, RPL_STATSILINE,
+ (aconf->username ? aconf->username : ""), (aconf->username ? "@" : ""),
(aconf->host ? aconf->host : "*"), aconf->maximum,
(aconf->name && aconf->name[0] == ':' ? "0":""),
aconf->name ? aconf->name : "*",