diff --git a/source/src/cube.h b/source/src/cube.h index 90b961ea..0fec17d1 100644 --- a/source/src/cube.h +++ b/source/src/cube.h @@ -64,7 +64,7 @@ extern float waterlevel; #define AC_MASTER_URI "ms.cubers.net" -// uncommend this line for production release +// uncomment this line for production release //#define PRODUCTION #ifdef PRODUCTION diff --git a/source/src/serverms.cpp b/source/src/serverms.cpp index 203310de..7b702ee0 100644 --- a/source/src/serverms.cpp +++ b/source/src/serverms.cpp @@ -361,5 +361,10 @@ void servermsinit(bool listen) if(lansock == ENET_SOCKET_NULL) mlog(ACLOG_WARNING, "could not create LAN server info socket"); else enet_socket_set_option(lansock, ENET_SOCKOPT_NONBLOCK, 1); } - if(!usemaster) mlog(ACLOG_INFO, "server is LAN-only - without connection to masterserver"); + if(!usemaster){ + mlog(ACLOG_INFO, "server is LAN-only - without connection to masterserver"); + if(listen){ + if(!scl.ssk) mlog(ACLOG_INFO, "ACTION REQUIRED: you must provide a PRIVATE SERVER KEY via the '-Y' command line argument"); + } + } }