X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FIRC%2FIrc.pl;h=ad557ae6cc9dd8ec75037aedc794193fada20894;hb=f7cae48a17d6decd0a9bd997188271daa0a885b1;hp=84abc4b36c4a154ad695bdb61f257b24341253be;hpb=5c77904c6d5dc51bdf4a12c0bf4bb358ccae0fe8;p=infobot.git diff --git a/src/IRC/Irc.pl b/src/IRC/Irc.pl index 84abc4b..ad557ae 100644 --- a/src/IRC/Irc.pl +++ b/src/IRC/Irc.pl @@ -102,7 +102,11 @@ sub irc { $conn = $irc->newconn(%args); if (!defined $conn) { - &ERROR("internal: perl IRC connection object does not exist."); + &ERROR("IRC: connection failed."); + &ERROR("add \"set ircHost 0.0.0.0\" to your config. If that does not work"); + &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; } @@ -821,7 +825,7 @@ sub closeDCC { foreach $type (keys %dcc) { next if ($type ne uc($type)); - + my $nick; foreach $nick (keys %{ $dcc{$type} }) { next unless (defined $nick);