aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar w00t2008-01-04 20:34:25 +0000
committerGravatar w00t2008-01-04 20:34:25 +0000
commit4fe35b6ead5fed5eb3224d031add57ae3246c99d (patch)
treea5a3a24e43c13cb0ab37971b0615e851e971026a /src/configreader.cpp
parentFix warning reported by owine, caused by SID changes. (diff)
Remove non-portable code and replace with a debug call
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8632 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 73c05cf87..eff49307c 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -1146,8 +1146,7 @@ void ServerConfig::Read(bool bail, User* user, int pass)
if (pass == 0)
{
- if (isatty(0) && isatty(1) && isatty(2))
- printf("Downloading configuration ");
+ ServerInstance->Log(DEBUG, "Downloading configuration");
TotalDownloaded = 0;
FileErrors = 0;