diff options
author | shennetsind <ind@henn.et> | 2013-07-08 15:34:41 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-07-08 15:34:41 -0300 |
commit | 8f7418ffaffb763e435b29eee5707c66d5615e73 (patch) | |
tree | ea4b44356fd036f4cce16738547684a70fc2dd6f /src/char | |
parent | 4f69a9ea0f80e78da61482b2d1143a6e58859fd1 (diff) | |
download | hercules-8f7418ffaffb763e435b29eee5707c66d5615e73.tar.gz hercules-8f7418ffaffb763e435b29eee5707c66d5615e73.tar.bz2 hercules-8f7418ffaffb763e435b29eee5707c66d5615e73.tar.xz hercules-8f7418ffaffb763e435b29eee5707c66d5615e73.zip |
Cygwin Fix for the Hercules SQL Update Check
Also modified the output (i think its sightly improved), also added a console command to skip updates so no need to go add the query yourself 'sql update skip <file name>'
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/char.c | 2 |
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); |