diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-04 20:34:25 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-04 20:34:25 +0000 |
commit | 4fe35b6ead5fed5eb3224d031add57ae3246c99d (patch) | |
tree | a5a3a24e43c13cb0ab37971b0615e851e971026a | |
parent | 2711056dc3697dc67879edceb36a4274250f9bdc (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
-rw-r--r-- | include/snomasks.h | 14 | ||||
-rw-r--r-- | src/configreader.cpp | 3 |
2 files changed, 8 insertions, 9 deletions
diff --git a/include/snomasks.h b/include/snomasks.h index e8115f32a..f7602f8fc 100644 --- a/include/snomasks.h +++ b/include/snomasks.h @@ -22,13 +22,13 @@ class Snomask { - private: - InspIRCd *ServerInstance; - public: - char MySnomask; - std::string Description; -// std::string LastMessage; -// unsigned int Count; + private: + InspIRCd *ServerInstance; + public: + char MySnomask; + std::string Description; +// std::string LastMessage; +// unsigned int Count; /** Create a new Snomask */ 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; |