summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-03-23 20:54:56 +0100
committerHaru <haru@dotalux.com>2015-12-15 20:53:48 +0100
commit86fab91ae6c4a40af24b1d3f98601ba5d6ca9adb (patch)
tree2acac7f31c37f99f598fae79c11fe2294eeabf10 /src/map/map.c
parent7a3971571ac2590c6f43a1494b6fcdb6ae632e27 (diff)
downloadhercules-86fab91ae6c4a40af24b1d3f98601ba5d6ca9adb.tar.gz
hercules-86fab91ae6c4a40af24b1d3f98601ba5d6ca9adb.tar.bz2
hercules-86fab91ae6c4a40af24b1d3f98601ba5d6ca9adb.tar.xz
hercules-86fab91ae6c4a40af24b1d3f98601ba5d6ca9adb.zip
Added GPL information on interactive server startup
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 149a50a7f..adbe75b20 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -5959,6 +5959,8 @@ int do_init(int argc, char *argv[])
#ifdef CONSOLE_INPUT
console->input->setSQL(map->mysql_handle);
+ if (!minimal && core->runflag != CORE_ST_STOP)
+ console->display_gplnotice();
#endif
ShowStatus("Server is '"CL_GREEN"ready"CL_RESET"' and listening on port '"CL_WHITE"%d"CL_RESET"'.\n\n", map->port);