From b511ebc2771410931f47d333c63204fde727f575 Mon Sep 17 00:00:00 2001 From: dms Date: Mon, 20 Oct 2003 08:26:49 +0000 Subject: [PATCH] print possible fix as error message. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@854 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/IRC/Irc.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/IRC/Irc.pl b/src/IRC/Irc.pl index 84abc4b..82816e0 100644 --- a/src/IRC/Irc.pl +++ b/src/IRC/Irc.pl @@ -102,7 +102,10 @@ sub irc { $conn = $irc->newconn(%args); if (!defined $conn) { - &ERROR("internal: perl IRC connection object does not exist."); + &ERROR("IRC: connection failed."); + &ERROR("Please check /etc/hosts to see if you have a localhost line like:"); + &ERROR("127.0.0.1 localhost localhost"); + &ERROR("If this is still a problem, please contact the maintainer."); return 1; } -- 2.39.2