From 404550224690e516b4eadbe25ab4f33f05ed7d04 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Thu, 31 Jul 2008 22:25:17 +0200 Subject: [PATCH] Fix testline crashes, introduced by the auth_user patch. --- modules/m_testline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }