summaryrefslogtreecommitdiff
path: root/src/login
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/login
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/login')
-rw-r--r--src/login/login.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 3ec60f0aa..53c203a42 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -2033,6 +2033,10 @@ int do_init(int argc, char** argv)
core->runflag = LOGINSERVER_ST_RUNNING;
}
+#ifdef CONSOLE_INPUT
+ console->display_gplnotice();
+#endif // CONSOLE_INPUT
+
ShowStatus("The login-server is "CL_GREEN"ready"CL_RESET" (Server is listening on the port %u).\n\n", login_config.login_port);
login_log(0, "login server", 100, "login server started");