summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-02-16 19:30:21 -0200
committershennetsind <ind@henn.et>2013-02-16 19:30:21 -0200
commitd8280002947c462b0bb731c12c20efc301ccb891 (patch)
tree28e1b539c6df1886f8c3d234dc31361fb1a34ef7 /src/map/map.c
parentd7ce0c1ce8c4d9118d1340e48424ad9deae0da09 (diff)
downloadhercules-d8280002947c462b0bb731c12c20efc301ccb891.tar.gz
hercules-d8280002947c462b0bb731c12c20efc301ccb891.tar.bz2
hercules-d8280002947c462b0bb731c12c20efc301ccb891.tar.xz
hercules-d8280002947c462b0bb731c12c20efc301ccb891.zip
Minor changes; check description
Login and Char servers will now exit when failing to bind to the port (as map server has always done). Moved Sql_HerculesUpdateCheck() to be run before "server is 'ready' " thing for layout-purposes. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c
index dde922f39..901234687 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -3985,10 +3985,10 @@ int do_init(int argc, char *argv[])
if (battle_config.pk_mode)
ShowNotice("Server is running on '"CL_WHITE"PK Mode"CL_RESET"'.\n");
- ShowStatus("Server is '"CL_GREEN"ready"CL_RESET"' and listening on port '"CL_WHITE"%d"CL_RESET"'.\n\n", map_port);
-
Sql_HerculesUpdateCheck(mmysql_handle);
+ ShowStatus("Server is '"CL_GREEN"ready"CL_RESET"' and listening on port '"CL_WHITE"%d"CL_RESET"'.\n\n", map_port);
+
if( runflag != CORE_ST_STOP )
{
shutdown_callback = do_shutdown;