* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
- * $Id: client.c 1861 2006-08-26 23:21:42Z jilles $
+ * $Id: client.c 3167 2007-01-26 18:52:11Z jilles $
*/
#include "stdinc.h"
#include "config.h"
dlinkDelete(&source_p->localClient->tnode, &unknown_list);
if(!IsIOError(source_p))
- sendto_one(source_p, "ERROR :Closing Link: 127.0.0.1 (%s)", comment);
+ sendto_one(source_p, "ERROR :Closing Link: %s (%s)",
+ source_p->user != NULL ? source_p->host : "127.0.0.1",
+ comment);
close_connection(source_p);