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, 2 insertions, 3 deletions
diff --git a/server/info_console.cc b/server/info_console.cc
index ce406fb..da99b7a 100644
--- a/server/info_console.cc
+++ b/server/info_console.cc
@@ -32,10 +32,9 @@
#include <stdio.h>
#include <stdarg.h>
-InfoConsole::InfoConsole(MiavConfig *c): Info()
+InfoConsole::InfoConsole(): Info()
{
- this->config = c;
- log_filename = *(this->config->readString("server_log_file"));
+ log_filename = *(MIaV::config->readString("server_log_file"));
}
InfoConsole::~InfoConsole()