mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
Fix testline crashes, introduced by the auth_user patch.
This commit is contained in:
parent
41d7fefad1
commit
59c3d09ab5
1 changed files with 2 additions and 1 deletions
|
@ -193,7 +193,8 @@ mo_testline(struct Client *client_p, struct Client *source_p, int parc, const ch
|
||||||
if(aconf && aconf->status & CONF_CLIENT)
|
if(aconf && aconf->status & CONF_CLIENT)
|
||||||
{
|
{
|
||||||
sendto_one_numeric(source_p, RPL_STATSILINE, form_str(RPL_STATSILINE),
|
sendto_one_numeric(source_p, RPL_STATSILINE, form_str(RPL_STATSILINE),
|
||||||
aconf->name, show_iline_prefix(source_p, aconf, aconf->user),
|
aconf->name, EmptyString(aconf->spasswd) ? "<NULL>" : aconf->spasswd,
|
||||||
|
show_iline_prefix(source_p, aconf, aconf->user),
|
||||||
aconf->host, aconf->port, aconf->className);
|
aconf->host, aconf->port, aconf->className);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue