From 380852d1a7393ee7ca0ae9f45751ab1fb307f0d0 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 18 Nov 2007 10:25:12 +0000 Subject: 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 --- src/inspircd.cpp | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'src/inspircd.cpp') 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::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); -- cgit v1.2.3