*prefix_ptr++ = '^';
if(IsOper(sptr) && IsConfExemptLimits(aconf))
*prefix_ptr++ = '>';
- *prefix_ptr = '\0';
- strncpy(prefix_ptr, name, USERLEN);
+ rb_strlcpy(prefix_ptr, name, USERLEN + 1);
return (prefix_of_host);
}
void
report_auth(struct Client *client_p)
{
- char *name, *host, *user, *classname;
+ char *name, *host, *user, *classname, *desc;
const char *pass;
struct AddressRec *arec;
struct ConfItem *aconf;
continue;
get_printable_conf(aconf, &name, &host, &pass, &user, &port,
- &classname);
+ &classname, &desc);
if(!EmptyString(aconf->spasswd))
pass = aconf->spasswd;
form_str(RPL_STATSILINE),
name, pass, show_iline_prefix(client_p, aconf, user),
show_ip_conf(aconf, client_p) ? host : "255.255.255.255",
- port, classname);
+ port, classname, desc);
}
}