summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-08 18:08:39 -0300
committershennetsind <ind@henn.et>2013-07-08 18:08:39 -0300
commitbb9f27f3fa24c9fab756d60ad961b866ad1c7d35 (patch)
tree97db1c02f00031e7047ec535b041cb9f7626d499 /src/char/char.c
parent8f7418ffaffb763e435b29eee5707c66d5615e73 (diff)
downloadhercules-bb9f27f3fa24c9fab756d60ad961b866ad1c7d35.tar.gz
hercules-bb9f27f3fa24c9fab756d60ad961b866ad1c7d35.tar.bz2
hercules-bb9f27f3fa24c9fab756d60ad961b866ad1c7d35.tar.xz
hercules-bb9f27f3fa24c9fab756d60ad961b866ad1c7d35.zip
Fixed compiling errors when CONSOLE_PARSE was disabled
Special Thanks to quesoph for bringing this to our attention. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/char/char.c')
-rw-r--r--src/char/char.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index b38e3e6c0..b6ea8e2f6 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -5023,8 +5023,9 @@ int do_init(int argc, char **argv) {
}
Sql_HerculesUpdateCheck(sql_handle);
+#ifdef CONSOLE_INPUT
console->setSQL(sql_handle);
-
+#endif
ShowStatus("The char-server is "CL_GREEN"ready"CL_RESET" (Server is listening on the port %d).\n\n", char_port);
if( runflag != CORE_ST_STOP )