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/map/map.c | |
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/map/map.c')
-rw-r--r-- | src/map/map.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 31600440d..6ed692cee 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -5509,6 +5509,7 @@ int do_init(int argc, char *argv[]) ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n"); Sql_HerculesUpdateCheck(mmysql_handle); + console->setSQL(mmysql_handle); ShowStatus("Server is '"CL_GREEN"ready"CL_RESET"' and listening on port '"CL_WHITE"%d"CL_RESET"'.\n\n", map_port); |