X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodulemanager.cpp;h=5ed7d12d5855c9a2688911d05aa827ef0b2bdd41;hb=180b8b6ab194fd74cb5c64fc3ec0775eb542451a;hp=86edd572f7188cdd6789e6db3aba8b7b2dd8ed65;hpb=05485be9f0ff3194ace46efaf156dd30441f29df;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index 86edd572f..5ed7d12d5 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -126,8 +126,7 @@ bool ModuleManager::Load(const std::string& modname, bool defer) /* We must load the modules AFTER initializing the socket engine, now */ void ModuleManager::LoadCoreModules(std::map& servicemap) { - std::cout << std::endl << "Loading core commands"; - fflush(stdout); + std::cout << std::endl << "Loading core commands" << std::flush; DIR* library = opendir(ServerInstance->Config->Paths.Module.c_str()); if (library) @@ -137,8 +136,7 @@ void ModuleManager::LoadCoreModules(std::map& servicem { if (InspIRCd::Match(entry->d_name, "core_*.so", ascii_case_insensitive_map)) { - std::cout << "."; - fflush(stdout); + std::cout << "." << std::flush; this->NewServices = &servicemap[entry->d_name];