summaryrefslogtreecommitdiff
path: root/louloulibs/utils
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-06-14 03:02:36 +0200
committerlouiz’ <louiz@louiz.org>2016-06-14 03:02:36 +0200
commit46ff73662cc94220c5ee962b591c8ee327de6f85 (patch)
tree482596a4c341477eee53456aac5e7b4746733630 /louloulibs/utils
parent550ab46f02511614d7ce7b46a4b4f63beae1aebc (diff)
downloadbiboumi-46ff73662cc94220c5ee962b591c8ee327de6f85.tar.gz
biboumi-46ff73662cc94220c5ee962b591c8ee327de6f85.tar.bz2
biboumi-46ff73662cc94220c5ee962b591c8ee327de6f85.tar.xz
biboumi-46ff73662cc94220c5ee962b591c8ee327de6f85.zip
Clean the Config module, use static things instead of a stupid singleton
Diffstat (limited to 'louloulibs/utils')
-rw-r--r--louloulibs/utils/reload.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/louloulibs/utils/reload.cpp b/louloulibs/utils/reload.cpp
index 6600c75..bddfd86 100644
--- a/louloulibs/utils/reload.cpp
+++ b/louloulibs/utils/reload.cpp
@@ -3,9 +3,7 @@
void reload_process()
{
- // Closing the config will just force it to be reopened the next time
- // a configuration option is needed
- Config::close();
+ Config::read_conf();
// Destroy the logger instance, to be recreated the next time a log
// line needs to be written
Logger::instance().reset();