From: Jilles Tjoelker Date: Thu, 31 Jul 2008 20:25:17 +0000 (+0200) Subject: Fix testline crashes, introduced by the auth_user patch. X-Git-Tag: charybdis-3.1.0~133^2~103 X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/404550224690e516b4eadbe25ab4f33f05ed7d04 Fix testline crashes, introduced by the auth_user patch. --- diff --git a/modules/m_testline.c b/modules/m_testline.c index 993e995..0bcba6e 100644 --- a/modules/m_testline.c +++ b/modules/m_testline.c @@ -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) ? "" : aconf->spasswd, + show_iline_prefix(source_p, aconf, aconf->user), aconf->host, aconf->port, aconf->className); return 0; }