summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char/char.c b/src/char/char.c
index a941dac14..b38e3e6c0 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -13,6 +13,7 @@
#include "../common/strlib.h"
#include "../common/timer.h"
#include "../common/utils.h"
+#include "../common/console.h"
#include "int_guild.h"
#include "int_homun.h"
#include "int_mercenary.h"
@@ -5022,6 +5023,7 @@ int do_init(int argc, char **argv) {
}
Sql_HerculesUpdateCheck(sql_handle);
+ console->setSQL(sql_handle);
ShowStatus("The char-server is "CL_GREEN"ready"CL_RESET" (Server is listening on the port %d).\n\n", char_port);