From b7b2eeaeb9e3168698e9d17e73bcc79022f987a2 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 1 May 2005 21:24:59 +0000 Subject: Sanity checks for fd_ref in addclient Fixed 'server ignores me forever if i throttle the server with connections' bug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1272 e03df62e-2008-0410-955e-edbf42e46eb7 --- .inspircd.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.inspircd.inc') diff --git a/.inspircd.inc b/.inspircd.inc index e86ad18d4..4f70bad75 100644 --- a/.inspircd.inc +++ b/.inspircd.inc @@ -110,7 +110,7 @@ sub debug { sub stop { - if (getstatus() == 0) { print "InspIRCd is not running. (Or PID File not found)"; return 0; } + if (getstatus() == 0) { print "InspIRCd is not running. (Or PID File not found)\n"; return 0; } # Get to here, we have something to kill. my $pid = getprocessid(); print "Stopping InspIRCd...\n"; @@ -126,7 +126,7 @@ sub stop { sub getpidfile { - open INFILE, "< $conffile" or die "Couldn't open $conffile"; + open INFILE, "< $conffile" or die "Couldn't open $conffile\n"; my(@lines) = ; close INFILE; chomp(@lines); -- cgit v1.2.3