aboutsummaryrefslogtreecommitdiffstats
path: root/src/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging.cpp')
-rw-r--r--src/logging.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/logging.cpp b/src/logging.cpp
index f0012052a..4cb5b3a6b 100644
--- a/src/logging.cpp
+++ b/src/logging.cpp
@@ -298,8 +298,7 @@ void Log::Manager::OpenLogs(bool requiremethods)
void Log::Manager::RegisterServices()
{
- Service::Provider* coreloggers[] = { &filelog, &stderrlog, &stdoutlog };
- ServerInstance->Modules.AddServices(coreloggers, sizeof(coreloggers)/sizeof(Service::Provider*));
+ ServerInstance->Modules.AddService(filelog, stderrlog, stdoutlog);
}
void Log::Manager::UnloadEngine(const Engine* engine)