]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules.cpp
This works with multiple remote includes now except it hangs when an include is withi...
[user/henk/code/inspircd.git] / src / modules.cpp
index 00265dc07199b606e7353ea1e4f47e43e4a8f51b..6fecc1f507d8cd8f16a577271a840fb25b74705e 100644 (file)
@@ -107,7 +107,7 @@ std::string Event::GetEventID()
                Module::Module(InspIRCd* Me) : ServerInstance(Me) { }
                Module::~Module() { }
 void           Module::OnReadConfig(ServerConfig*, ConfigReader*) { }
-int            Module::OnDownloadFile(const std::string&, std::stringstream&) { return 0; }
+int            Module::OnDownloadFile(const std::string&, std::istream*&) { return 0; }
 void           Module::OnUserConnect(User*) { }
 void           Module::OnUserQuit(User*, const std::string&, const std::string&) { }
 void           Module::OnUserDisconnect(User*) { }
@@ -557,8 +557,6 @@ void ModuleManager::LoadAll()
                        Instance->Exit(EXIT_STATUS_MODULE);
                }
        }
-       printf_c("\nA total of \033[1;32m%d\033[0m module%s been loaded.\n", (this->GetCount()), (this->GetCount()) == 1 ? " has" : "s have");
-       Instance->Log(DEFAULT,"Total loaded modules: %d", this->GetCount());
 }
 
 bool ModuleManager::PublishFeature(const std::string &FeatureName, Module* Mod)