From: dms Date: Mon, 20 Oct 2003 08:26:49 +0000 (+0000) Subject: print possible fix as error message. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b511ebc2771410931f47d333c63204fde727f575;p=infobot.git 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 --- 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; }