Merge pull request #1082 from incontestableness/fixes

Fix typo causing nullnexus to always connect even when disabled
This commit is contained in:
LightCat 2020-08-08 19:20:22 +02:00 committed by GitHub
commit 41b6456538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,7 +210,7 @@ static InitRoutine init([]() {
nexus.setHandlerChat(handlers::message);
nexus.setHandlerAuthedplayers(handlers::authedplayers);
if (*connect)
if (*enabled)
{
if (*proxyenabled)
nexus.connectunix(*proxysocket, *endpoint, true);