missing key causes message (issue #353)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user