Fix testline crashes, introduced by the auth_user patch.

This commit is contained in:
Jilles Tjoelker 2008-07-31 22:25:17 +02:00
parent bcd8cc02e1
commit 4045502246
1 changed files with 2 additions and 1 deletions

View File

@ -193,7 +193,8 @@ mo_testline(struct Client *client_p, struct Client *source_p, int parc, const ch
if(aconf && aconf->status & CONF_CLIENT)
{
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);
return 0;
}