summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-18 10:25:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-18 10:25:12 +0000
commit380852d1a7393ee7ca0ae9f45751ab1fb307f0d0 (patch)
treed45f19f904ffd09489b6a8a621ecd3d477c250ad /src/inspircd.cpp
parent12ec2bc108e0f0219792cbbe78a6ce7d86818fe3 (diff)
First part of stuff for remote includes (this doesnt work yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8601 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 98c7cc3ea..fbb7c7e71 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -471,32 +471,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
* these files.
*/
Config->Read(true, NULL, 0);
- Config->StartDownloads();
-
- /* Now the downloads are started, we monitor them for completion.
- * On completion, we call Read again with pass = 1.
- * NOTE: We really should add a timeout here
- */
-
- while (Config->Downloading())
- {
- SE->DispatchEvents();
- this->BufferedSocketCull();
- }
-
- printf("\n");
-
- if (Config->FileErrors)
- {
- for (std::map<std::string, std::istream*>::iterator x = Config->IncludedFiles.begin(); x != Config->IncludedFiles.end(); ++x)
- {
- if (!x->second)
- printf("ERROR: Failed to access the file: %s.\n", x->first.c_str());
- }
- printf("Initialisation of configuration failed.\n");
- Exit(EXIT_STATUS_CONFIG);
- }
-
+ Config->DoDownloads();
/* We have all the files we can get, initiate pass 1 */
Config->Read(true, NULL, 1);