summaryrefslogtreecommitdiff
path: root/server/info_console.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/info_console.cc')
-rw-r--r--server/info_console.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/info_console.cc b/server/info_console.cc
index da99b7a..fdceb2f 100644
--- a/server/info_console.cc
+++ b/server/info_console.cc
@@ -27,14 +27,15 @@
#include <config.h>
#include "info_console.h"
-#include "miav_config.h"
+#include "configuration.h"
#include <stdio.h>
#include <stdarg.h>
InfoConsole::InfoConsole(): Info()
{
- log_filename = *(MIaV::config->readString("server_log_file"));
+ if(MIaV::config->get("server_log_file", &log_filename))
+ fprintf(stderr, "Could not read symbol [server_log_file] from conf file!\n");
}
InfoConsole::~InfoConsole()