summaryrefslogtreecommitdiff
path: root/.inspircd.inc
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-01 21:24:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-01 21:24:59 +0000
commitb7b2eeaeb9e3168698e9d17e73bcc79022f987a2 (patch)
treeb83b100c29a2dea1358d486ecf24e6afa2ae62c9 /.inspircd.inc
parenta643172dd76776544773eeb4aa49b79a98ac5ca1 (diff)
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
Diffstat (limited to '.inspircd.inc')
-rw-r--r--.inspircd.inc4
1 files changed, 2 insertions, 2 deletions
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) = <INFILE>;
close INFILE;
chomp(@lines);